Alph
gpt-4
gpt-4
POST
/
api
/
alph
/
{server_name}
/
gpt-4
Copy
curl --request POST \
--url https://dashboard.amdatascience.com/api/alph/{server_name}/gpt-4 \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--data '{
"messages": [
{
"content": "hi",
"role": "user"
}
]
}'
Copy
"0:\"Hello\"\n0:\"!\"\n0:\" How\"\n0:\" can\"\n0:\" I\"\n0:\" assist\"\n0:\" you\"\n0:\" today\"\n0:\"?\"\n"
Authorizations
Path Parameters
Body
application/json
Response
200 - text/plain
gpt-4
The response is of type file
.
Copy
curl --request POST \
--url https://dashboard.amdatascience.com/api/alph/{server_name}/gpt-4 \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--data '{
"messages": [
{
"content": "hi",
"role": "user"
}
]
}'
Copy
"0:\"Hello\"\n0:\"!\"\n0:\" How\"\n0:\" can\"\n0:\" I\"\n0:\" assist\"\n0:\" you\"\n0:\" today\"\n0:\"?\"\n"
Assistant
Responses are generated using AI and may contain mistakes.