47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
ai.xorbit.link/e5b2a5e5-b41d-4715-9d50-d4a3b0c1a85e/openai/api
|
|
|
|
|
|
curl https://api.openai.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-fUeEFERXoCS2MebUcCCiTqtRVYxlTHjiyZQwYVuAbrT3BlbkFJO_MwApIoV9MxB4v86eSN2NDhr7PckywQf8g5e0AfEA" -d '{
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"content": "You are a test assistant."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "Testing. Just say hi and nothing else."
|
|
}
|
|
],
|
|
"model": "gpt-4o"
|
|
}'
|
|
|
|
|
|
curl https://ai.xorbit.link:8443/e5b2a5e5-b41d-4715-9d50-d4a3b0c1a85e -H "Content-Type: application/json" -H "Authorization: Bearer sk-fUeEFERXoCS2MebUcCCiTqtRVYxlTHjiyZQwYVuAbrT3BlbkFJO_MwApIoV9MxB4v86eSN2NDhr7PckywQf8g5e0AfEA" -d '{
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"content": "You are a test assistant."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "Testing. Just say hi and nothing else."
|
|
}
|
|
],
|
|
"model": "gpt-4o"
|
|
}'
|
|
|
|
curl https://ai.xorbit.link:8443/e5b2a5e5-b41d-4715-9d50-d4a3b0c1a85f/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-fUeEFERXoCS2MebUcCCiTqtRVYxlTHjiyZQwYVuAbrT3BlbkFJO_MwApIoV9MxB4v86eSN2NDhr7PckywQf8g5e0AfEA" -d '{
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"content": "You are a test assistant."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "Testing. Just say hi and nothing else."
|
|
}
|
|
],
|
|
"model": "gpt-4o"
|
|
}'
|
|
|
|
/e5b2a5e5-b41d-4715-9d50-d4a3b0c1a85f/v1/chat/completions |