Anyscale
communityPlatform for scaling AI workloads with Ray, offering serverless endpoints for LLMs.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://api.endpoints.anyscale.com/v1/chat/completionsChat completion
Parameters
modelmodel ID (stringrequiredmessagesmessages (object[]requiredmax_tokensmax tokens (integeroptionaltemperaturetemperature (numberoptionalReturns
choices[] with message.content, finish_reason; usageGET
https://api.endpoints.anyscale.com/v1/modelsList models
Returns
data[] with id, object, owned_byPOST
https://api.endpoints.anyscale.com/v1/embeddingsCreate embeddings
Parameters
inputtext (stringrequiredmodelmodel ID (stringrequiredReturns
data[] with embedding, index