Spaces:
Sleeping
Sleeping
title: llm-api | |
emoji: ⚡ | |
colorFrom: indigo | |
colorTo: yellow | |
sdk: docker | |
pinned: false | |
app_port: 8000 | |
```bash | |
curl https://innovatorved-api.hf.space/v1/models | |
curl https://innovatorved-api.hf.space/v1/chat/completions -H "Content-Type: application/json" -d '{ | |
"model": "gpt-3.5-turbo", | |
"messages": [{"role": "user", "content": "How are you?"}], | |
"temperature": 0.9 | |
}' | |
curl https://innovatorved-api.hf.space/v1/chat/completions -H "Content-Type: application/json" -d '{ | |
"model": "luna-ai-llama2", | |
"messages": [{"role": "user", "content": "How are you?"}], | |
"temperature": 0.9 | |
}' | |
``` |