http://localhost
, consider using a tool like ngrok
to create a public URL. Then, instantiate the Portkey client by adding your LocalAI URL (along with the version identifier) to the customHost
property, and add the provider name as openai
.
/v1
) in the customHost
URLOpenAI
)Custom Host
fieldEndpoint | Resource |
---|---|
/chat/completions (Chat, Vision, Tools support) | Doc |
/images/generations | Doc |
/embeddings | Doc |
/audio/transcriptions | Doc |