Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation eiusmod tempor incididunt ut labore sed do eiusmod tempor incididunt.
curl -X POST "https://robot-tsl.com/api/v1/chat/completions"
-H "Authorization: Bearer $ROBOTTSL_API_KEY"
-H "Content-Type: application/json"
-d '{
"model": "meta-llama/Llama-Vision-Free",
"messages": [{"role": "user", "content": "What are some fun things to do in New York?"}]
}'
JSON RESPONSE
RUN INFERENCE
from robottsl import RobotTSL client = RobotTSL()
response = client.chat.completions.create(
model="meta-llama/Llama-Vision-Free",
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 RobotTSL from"ai-tradestore"; const robottsl = new RobotTSL(); const response = await robottsl.chat.completions.create({ messages: [{"role": "user", "content": "What are some fun things to do in New York?"}], model: "meta-llama/Llama-Vision-Free", });
console.log(response.choices[0].message.content)