[]
Tries to parse an OpenAI response that represents a table. Expects the response to use dashes ('-') and pipes ('|') to represent the table grid lines, for example:
| Item | Description | Unit | Quantity |
|-------------|-------------------------|------|----------|
| S-502-2414 | Firewall(101-150 users) | Ea | 1 |
| S-502-2417 | IPS(101-150 users) | Ea | 1 |
public static Table TryParseTextTableResponse(string text)
Public Shared Function TryParseTextTableResponse(text As String) As Table
Type | Name | Description |
---|---|---|
string | text | The textual representation of the table to parse. |
Type | Description |
---|---|
Table |