curl -XPOST"https://aitradestore.org/api/v1/chat/completions"-H"Authorization: Bearer $AITRADESTORE_API_KEY"-H"Content-Type: application/json"-d '{
"model": "meta-llama/Llama-3.2-3B-Instruct-Turbo",
"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="meta-llama/Llama-3.2-3B-Instruct-Turbo",
messages=[{"role": "user", "content": "What are some fun things to do in New York?"}], ) print(response.choices[0].message.content)
JSON RESPONSE
RUN INFERENCE
importAiTradeStorefrom"ai-tradestore"; const aitradestore = newAiTradeStore(); const response = await aitradestore.chat.completions.create({
messages: [{"role": "user", "content": "What are some fun things to do in New York?"}],
model: "meta-llama/Llama-3.2-3B-Instruct-Turbo", });
console.log(response.choices[0].message.content)
curl -XPOST"https://aitradestore.org/api/v1/chat/completions"-H"Authorization: Bearer $AITRADESTORE_API_KEY"-H"Content-Type: application/json"-d '{
"model": "meta-llama/Llama-3.2-3B-Instruct-Turbo",
"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="meta-llama/Llama-3.2-3B-Instruct-Turbo",
messages=[{"role": "user", "content": "What are some fun things to do in New York?"}], ) print(response.choices[0].message.content)
JSON RESPONSE
RUN INFERENCE
importAiTradeStorefrom"ai-tradestore"; const aitradestore = newAiTradeStore(); const response = await aitradestore.chat.completions.create({
messages: [{"role": "user", "content": "What are some fun things to do in New York?"}],
model: "meta-llama/Llama-3.2-3B-Instruct-Turbo", });
console.log(response.choices[0].message.content)