Model response for a given chat conversation
Derived from: EndPoint
OperationsModel response for the given chat conversation
function : Complete(model:String, messages:Vector<Pair<String,String>>) ~ Completion
Name | Type | Description |
---|---|---|
model | String | ID of the model to use |
messages | Vector<Pair<String,String>> | list of messages comprising the conversation so far. |
Type | Description |
---|---|
Completion | completion response |
List of chat completion choices
method : public : GetChoices() ~ Vector<API.OpenAI.Chat.Choice>
Type | Description |
---|---|
Choice<> | completion choices |
Unix timestamp (in seconds) of when the object instance was created
method : public : GetCreatedAt() ~ Int
Type | Description |
---|---|
Int | time with the object instance was created |
Get object instance API ID
method : public : GetId() ~ String
Type | Description |
---|---|
String | instance ID |
ID of the model to use
method : public : GetModel() ~ String
Type | Description |
---|---|
String | ID of the model to use |
Get the object type
method : public : GetObject() ~ String
Type | Description |
---|---|
String | object type |
String representation of the object
method : public : ToString() ~ String
Type | Description |
---|---|
String | string representation |