curl -X POST "https://aitradestore.com/api/v1/chat/completions"
-H "Authorization: Bearer $AITRADESTORE_API_KEY"
-H "Content-Type: application/json"
-d '{
"model": "WhereIsAI/UAE-Large-V1",
"messages": [{"role": "user", "content": "What are some fun things to do in New York?"}]
}'
JSON RESPONSE
RUN INFERENCE
from aitradestore import AiTradeStore client = AiTradeStore()
response = client.chat.completions.create(
model="WhereIsAI/UAE-Large-V1",
messages=[{"role": "user", "content": "What are some fun things to do in New York?"}], ) print(response.choices[0].message.content)
JSON RESPONSE
RUN INFERENCE
import AiTradeStore from"ai-tradestore"; const aitradestore = new AiTradeStore(); const response = await aitradestore.chat.completions.create({ messages: [{"role": "user", "content": "What are some fun things to do in New York?"}], model: "WhereIsAI/UAE-Large-V1", });
console.log(response.choices[0].message.content)
curl -X POST "https://aitradestore.com/api/v1/chat/completions"
-H "Authorization: Bearer $AITRADESTORE_API_KEY"
-H "Content-Type: application/json"
-d '{
"model": "WhereIsAI/UAE-Large-V1",
"messages": [{"role": "user", "content": "What are some fun things to do in New York?"}]
}'
JSON RESPONSE
RUN INFERENCE
from aitradestore import AiTradeStore client = AiTradeStore()
response = client.chat.completions.create(
model="WhereIsAI/UAE-Large-V1",
messages=[{"role": "user", "content": "What are some fun things to do in New York?"}], ) print(response.choices[0].message.content)
JSON RESPONSE
RUN INFERENCE
import AiTradeStore from"ai-tradestore"; const aitradestore = new AiTradeStore(); const response = await aitradestore.chat.completions.create({ messages: [{"role": "user", "content": "What are some fun things to do in New York?"}], model: "WhereIsAI/UAE-Large-V1", });
console.log(response.choices[0].message.content)