Skip to content

Commit

Permalink
change type information presentation format
Browse files Browse the repository at this point in the history
  • Loading branch information
dazfuller committed Oct 25, 2024
1 parent 5c2640a commit 3eefe78
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,13 @@ Under `input` is the `parameters` section which contains a list of key-value pai

The supported types are:

* string
* bool
* datetime
* number
* object
| Parameter Type | Dotnet Type | C# Equivalent |
|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| string | System.String | string |
| bool | System.Boolean | bool |
| datetime | System.DateTimeOffset | System.DateTimeOffset |
| number | System.Byte<br/>System.SByte<br/>System.UInt16<br/>System.Int16<br/>System.UInt32<br/>System.Int32<br/>System.UInt64<br/>System.Int64<br/>System.Single<br/>System.Double<br/>System.Decimal | byte<br/>sbyte<br/>ushort<br/>short<br/>uint<br/>int<br/>ulong<br/>long<br/>float<br/>double<br/>decimal |
| object | System.Object | object |

The first 4 are used as provided. Objects which are passed to the prompt will have their `ToString` method called to be used in the prompt.

Expand Down

0 comments on commit 3eefe78

Please sign in to comment.