Can I change the openai api endpoint?
dillfrescott opened this issue · 7 comments
How do you want to change it?
Preferably an env variable I guess
I am still not sure what feature you are asking. Are you wanting to be able to use other models from OpenAI? Or use a completely different service?
Oh, I apologize. I want to use a different endpoint than the api.openai.com one. There are projects that can mimic the openai api and run locally. And I would like to be able to use mindflow with them
Oh yeah you should be able to in our code, im not sure how complicated of a task that is but I know @steegecs built us a super general model configurer, and you can select the configuration you want from the CLI
Here's the service class https://github.com/mindflowai/mindflow/blob/main/mindflow/db/objects/service.py
Thank you!