OpenAI Provider Setup
To use OpenAI provider, you need first to get your OpenAI API key from the OpenAI website. Only two steps are required:- First Creating a secret with your OpenAI API key.
- Create your OpenAI model in the model manager. Make sure that the name of the model is unique.
- Now you simply use Flock with OpenAI provider. Here’s a small query to run to test if everything is working:
OpenAI-Compatible Provider Setup
For providers with OpenAI-compatible APIs, specify theBASE_URL along with your API key, to illustrate we will
use groq as an example. You need only two required steps:
- First Creating a secret for you
groqprovider by specifying itsBASE_URLandAPI_KEY.
- Next, create your OpenAI-compatible model in the model manager. Make sure that the name of the model is unique.
- Same as before, you can test if everything is working with the same query:

