In general for any api provider, they define their scheme in :
<api_host_url>/openapi.json
https://gist.github.com/philipp-meier/678a4679d0895276f270fac4c046ad14
POSTMAN에서
POST {{baseUrl}}/api/v1/chat/completions
-> 오른쪽에서 Code 클릭하면
curl --location '//api/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"messages": [
{
"content": "cupidatat enim",
"role": "in cillum consectetur ullamco",
"name": "culpa tempor id esse"
},
{
"content": "nisi",
"role": "Duis",
"name": "qui id"
}
],
"model": "sint officia dolor consectetur",
"frequency_penalty": -72386091.33734185,
"logit_bias": {
"in_2d4": -81220348.66387935,
"ex_da_": 6052580.199384794,
"minim_b1": 89500400.46716693
},
"logprobs": true,
"top_logprobs": 56788910,
"max_tokens": 18849095,
"max_completion_tokens": -29320342,
"n": 66547401,
"presence_penalty": -48707663.07236316,
"response_format": {
"type": "text",
"json_schema": {
"name": "officia in",
"description": "sed laborum aliqua",
"schema": {},
"strict": false
}
},
"seed": -2303193052710695000,
"stop": [
"in",
"fugiat in"
],
"stream": true,
"stream_options": {
"include_usage": false,
"continuous_usage_stats": true,
"nostrud_4": "consectetur Duis sun"
},
"temperature": 22615259.949660778,
"top_p": -49872382.29993487,
"tools": [
{
"function": {
"name": "cillum eu reprehenderit sit eiusmod",
"description": "eiusmod elit commodo magna",
"parameters": {}
},
"type": "function"
},
{
"function": {
"name": "in minim ",
"description": "exercitation commodo qui ad sunt",
"parameters": {}
},
"type": "function"
}
],
"tool_choice": "cupidatat ad in",
"parallel_tool_calls": true,
"user": "Lorem ullamco sed",
"best_of": 54468446,
"use_beam_search": false,
"top_k": -49650031,
"min_p": 60226929.996623635,
"repetition_penalty": -35472739.84739427,
"length_penalty": 1,
"stop_token_ids": [
47972197,
75696159
],
...