Helicone Community Page

Home
Members
Saurabh
S
Saurabh
Offline, last seen 2 months ago
Joined September 3, 2024
We're trying to use Azure OpenAI via CURL

Can you help what's wrong - as I can't find CURL examples in doc

Plain Text
curl --request POST \
  --url https://oai.hconeai.com/openai/deployments/DEPLOYMENTNAME/chat/completions \
  --header 'Helicone-Auth: Bearer HELICONE_KEY' \
  --header 'Helicone-OpenAI-Api-Base: https://AZUREDOMAIN.openai.azure.com' \
  --header 'api-key: AZURE_API_KEY' \
  --header 'content-type: application/json' \
  --data '{
    "messages": [
      {
        role: "system",
        content: "System Prompt"
      },
      {
        role: "user",
        content: "Answer in one word"
      }],
    "max_tokens": 800,
    "temperature": 1,
    "model": "gpt-3.5-turbo-0613"
  }'
4 comments
C
J
It seems all the requests with GPT-3.5-turbo-0613 are missing response ( output ) in the requests dashboard. But I can see responses properly logged in GPT-4 requests.
5 comments
S
a
We're seeing 2x data everywhere somehow except Requests tab.

Like in the shared example screenshot - we've 6 requests in Requests tab. But Users tab is showing 12 requests. Also cost is showing 2x. Also dashboard is showing 2x data. Is it some bug on ourside or at platform level?
30 comments
S
J
a