openai. Below are the parameters that you can customize when creating the instances:
Python 0.41.0 accepts only the model names returned by
model_names();
setting dim does not enable an arbitrary model name in that version. Custom
OpenAI-compatible model names with an explicit dim require the
0.42.0b8 client.
Set your OpenAI API key before running the example: