4 ms·
I might be super naive here but can someone explain how this type of thing works? Behind the scene, is the bot hitting the OpenAI APIs?
by stevofolife 4y ago
I might be super naive here but can someone explain how this type of thing works? Behind the scene, is the bot hitting the OpenAI APIs?
- foxbarrington 4y agoYes, it uses this library to do it: https://github.com/Andrew-Chen-Wang/openai-python/tree/async-support#openai-python-library https://github.com/Andrew-Chen-Wang/openai-python/tree/async...
- idealmedtech 4y agoIf you check out models/openai_model.py, you'll see it's using text-curie-001, among others, which is an OpenAI dataset. This model is imported in main.py under the name 'Model', which makes me believes the openAI API is serving as the main model used for inference
- kaveenk 4y agoSo I actually have it set to use both the text-davinci-003 and text-curie-001 models. If you’re on low usage mode, that’s when the curie model will be used :)
- kaveenk 4y agoYup! Behind the scenes I send AIOHTTP requests to the various OpenAI endpoints.