Your First API Call
The ArceeFM API is OpenAI compatible. It can be accessed through your command line, or, with minor configuration changes, through the OpenAI SDK.
Parameter
Value
base_url
https://example.arcee.ai/api
api_key
afm-12345678abcdefgh87654321hgfedcba
curl https://example.arcee.ai/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <ArceeFM API Key>" \
-d '{
"model": "<ArceeFM Model>",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Greetings!"}
],
"stream": false
}'
Last updated