Not affiliated with the gpt4free project at all (actually get into funks with its dev on Discord sometimes) but the project has meant being able to use gpt-3.5-turbo via python because I would rather eat than pay Sam Altman to get new teeth (seen those things he got put in? Telling you dude is a closet tweaker). You can also do a bunch of other stuff with it and use other LLMs through it like llama and gemini-pro, documentation sucks but it can run out of a docker-compose container and has a browser UI that does most of what it should. Converting openAI API calls to its API structure is easy or you can use it as a drop in replacement if the openAI version required is <1.0.0 pretty easy.
Not affiliated with the gpt4free project at all (actually get into funks with its dev on Discord sometimes) but the project has meant being able to use gpt-3.5-turbo via python because I would rather eat than pay Sam Altman to get new teeth (seen those things he got put in? Telling you dude is a closet tweaker). You can also do a bunch of other stuff with it and use other LLMs through it like llama and gemini-pro, documentation sucks but it can run out of a docker-compose container and has a browser UI that does most of what it should. Converting openAI API calls to its API structure is easy or you can use it as a drop in replacement if the openAI version required is <1.0.0 pretty easy.
check it out here