api / README.md
Ved Gupta
initial
8afc3f4
|
raw
history blame
No virus
635 Bytes
---
title: llm-api
emoji:
colorFrom: indigo
colorTo: yellow
sdk: docker
pinned: false
app_port: 8080
---
```bash
curl https://innovatorved-llm-api.hf.space/v1/models
curl https://innovatorved-llm-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-llm-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
}'
```