curl -X POST "https://aitradestore.com/api/v1/embeddings"
-H "Authorization: Bearer $AITRADESTORE_API_KEY"
-H "Content-Type: application/json"
-d { "model": "BAAI/bge-base-en-v1.5", "input": "Our solar system orbits the Milky Way galaxy at about 515,000 mph"
}'
JSON RESPONSE
RUN INFERENCE
from aitradestore import AiTradeStore client = AiTradeStore()
response = client.embeddings.create(
model="BAAI/bge-base-en-v1.5", input="Our solar system orbits the Milky Way galaxy at about 515,000 mph", ) print(response.data[0].embedding)
JSON RESPONSE
RUN INFERENCE
import AiTradeStore from"ai-tradestore"; const aitradestore = new AiTradeStore(); const response = await aitradestore.embeddings.create({ model: "BAAI/bge-base-en-v1.5", input: "Our solar system orbits the Milky Way galaxy at about 515,000 mph", }); console.log(response.data[0].embedding);
curl -X POST "https://aitradestore.com/api/v1/embeddings"
-H "Authorization: Bearer $AITRADESTORE_API_KEY"
-H "Content-Type: application/json"
-d { "model": "BAAI/bge-base-en-v1.5", "input": "Our solar system orbits the Milky Way galaxy at about 515,000 mph"
}'
JSON RESPONSE
RUN INFERENCE
from aitradestore import AiTradeStore client = AiTradeStore()
response = client.embeddings.create(
model="BAAI/bge-base-en-v1.5", input="Our solar system orbits the Milky Way galaxy at about 515,000 mph", ) print(response.data[0].embedding)
JSON RESPONSE
RUN INFERENCE
import AiTradeStore from"ai-tradestore"; const aitradestore = new AiTradeStore(); const response = await aitradestore.embeddings.create({ model: "BAAI/bge-base-en-v1.5", input: "Our solar system orbits the Milky Way galaxy at about 515,000 mph", }); console.log(response.data[0].embedding);