You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create a global openai bot with a config like this:
base_url: https://yourname.openai.azure.com/openai/deployments/gpt-4o
api_key: yourkey
text_generation:
model_id: gpt-4o
prompt: You are a brief, but helpful bot.
temperature: 1.0
max_response_tokens: 16384
max_context_tokens: 128000
but this only returns Resource not found (code: 404)
When I copy the curl sample from Azure OpenAI Studio this looks like this:
payload="{\"messages\":[{\"role\":\"system\",\"content\":[{\"type\":\"text\",\"text\":\"You are an AI assistant that helps people find information.\"}]}],\"temperature\":0.7,\"top_p\":0.95,\"max_tokens\":800}"
curl "https://yourname.openai.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2024-02-15-preview" \
-H "Content-Type: application/json" \
-H "api-key: yourkey" \
-d "$payload"
this works just fine within the container. How will I have to adapt these settings for Baibot?
The text was updated successfully, but these errors were encountered:
When I try to set it up as OpenAI compatible I receive this error: Failed to get response from the OpenAI-compat chat completion API: ApiError("{\"error\":{\"code\":\"404\",\"message\":\"Resource not found\"}}")
I tried to create a global openai bot with a config like this:
but this only returns
Resource not found (code: 404)
When I copy the curl sample from Azure OpenAI Studio this looks like this:
this works just fine within the container. How will I have to adapt these settings for Baibot?
The text was updated successfully, but these errors were encountered: