CoolFace
Apppublic

Ly1219/st-gpt4o-mini-simi03

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
App README

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

infos

  • —models
bash
curl https://sanbo1200-ddghat.hf.space/models
  • —Request
bash
curl --location --request POST 'https://${|Embed this Space|--|Direct URL|}/completions' \
  --header 'Content-Type: application/json' \
  --data-raw '{
      "model": "gpt-4o-mini",
      "messages": [
          {
              "role": "user",
              "content": "What is the principle of Bitcoin?"
          }
      ],
      "stream": true
  }'

# local
curl --location --request POST 'http://0.0.0.0:8760/completions' \
  --header 'Content-Type: application/json' \
  --data-raw '{
      "model": "gpt-4o-mini",
      "messages": [
          {
              "role": "user",
              "content": "What is the principle of Bitcoin?"
          }
      ],
      "stream": true
  }'

support models

  • —claude-3-haiku
  • —llama-3.1-70b
  • —mixtral-8x7b
  • —gpt-4o-mini