POST api/getdeepseek
Request Information
URI Parameters
None.
Body Parameters
RootsName | Description | Type | Additional information |
---|---|---|---|
model | string |
None. |
|
messages | Collection of Messagee |
None. |
|
temperature | decimal number |
None. |
|
top_p | decimal number |
None. |
|
max_tokens | integer |
None. |
|
presence_penalty | decimal number |
None. |
|
frequency_penalty | decimal number |
None. |
|
n | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "model": "sample string 1", "messages": [ { "role": "sample string 1", "content": "sample string 2" }, { "role": "sample string 1", "content": "sample string 2" } ], "temperature": 2.1, "top_p": 3.1, "max_tokens": 4, "presence_penalty": 5.1, "frequency_penalty": 6.1, "n": 7 }
application/xml, text/xml
Sample:
<Roots xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <frequency_penalty>6.1</frequency_penalty> <max_tokens>4</max_tokens> <messages> <Messagee> <content>sample string 2</content> <role>sample string 1</role> </Messagee> <Messagee> <content>sample string 2</content> <role>sample string 1</role> </Messagee> </messages> <model>sample string 1</model> <n>7</n> <presence_penalty>5.1</presence_penalty> <temperature>2.1</temperature> <top_p>3.1</top_p> </Roots>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.