Creates a model response for the given chat conversation.
Request body
Example request
{
"temperature": 1,
"top_p": 1,
"user": "user-1234",
"model": "llama3-8b-instruct",
"stop": "\n",
"n": 1
}Response
OK
Changes
Changed in 4 of the 8 revisions of this API.51127
- ▲
the
//////request property type changed fromstringto no typerequest-property-type-changed
- ▲
the
//////request property type changed fromstringto no typerequest-property-type-changed
- ▲
the
//////request property type changed fromstringto no typerequest-property-type-changed
- ▲
the
//////request property type changed fromstringto no typerequest-property-type-changed
- ●
added the new
content_filterenum value to the//response property for the response status (media type: application/json)response-property-enum-value-added
- ●
added the new
content_filterenum value to the//response property for the response status (media type: text/event-stream)response-property-enum-value-added
- ○
the endpoint scheme security
ModelAccessKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
ApiKeyAuthwas removed from the APIapi-security-removed
- ○
api tag
inference-proxy-api-new_Chataddedapi-tag-added
- ○
api tag
Chatremovedapi-tag-removed
- ○
added
subschema #1subschema #2to the//////request propertyoneOflistrequest-property-one-of-added
- ○
added
subschema #1subschema #2to the//////request propertyoneOflistrequest-property-one-of-added
- ○
added
subschema #1subschema #2to the//////request propertyoneOflistrequest-property-one-of-added
- ○
added
subschema #1subschema #2to the//////request propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
///to the response with the status (media type: text/event-stream)response-optional-property-added
- ○
added the required property
///to the response with the status (media type: application/json)response-required-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
tool_callsenum value to the//response property for the response status (media type: application/json)response-property-enum-value-added
- ●
added the new
tool_callsenum value to the//response property for the response status (media type: text/event-stream)response-property-enum-value-added
- ○
added the new optional request property
////new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added
tooldiscriminator mapping keys to the//request propertyrequest-property-discriminator-mapping-added
- ○
added to the
//request propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
///to the response with the status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
///to the response with the status (media type: application/json)response-optional-property-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
removed from the
//request propertyoneOflistrequest-property-one-of-removed
- ●
removed the request property
////request-property-removed
- ●
removed the request property
/request-property-removed
- ●
removed the request property
/request-property-removed
- ●
removed the optional property
///from the response with the status (media type: text/event-stream)response-optional-property-removed
- ●
removed the optional property
///from the response with the status (media type: application/json)response-optional-property-removed
- ○
removed
tooldiscriminator mapping keys from the//request propertyrequest-property-discriminator-mapping-deleted
- ○
removed the
tool_callsenum value from the//response property for the response status (media type: application/json)response-property-enum-value-removed
- ○
removed the
tool_callsenum value from the//response property for the response status (media type: text/event-stream)response-property-enum-value-removed
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
tool_callsenum value to the//response property for the response status (media type: application/json)response-property-enum-value-added
- ●
added the new
tool_callsenum value to the//response property for the response status (media type: text/event-stream)response-property-enum-value-added
- ○
added the new optional request property
////new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added the new optional request property
/new-optional-request-property
- ○
added
tooldiscriminator mapping keys to the//request propertyrequest-property-discriminator-mapping-added
- ○
added to the
//request propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
///to the response with the status (media type: text/event-stream)response-optional-property-added
- ○
added the optional property
///to the response with the status (media type: application/json)response-optional-property-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●