openai python SDK:
Guides
Using OpenAI SDK
How to integrate TVI with existing OpenAI compatible endpoints
Trieve Vector Inference is compatible with the OpenAI API.
This means you’re able to just replace the endpoint, without changing any pre-existing code.
Here’s an example with the