Closed taturl closed 1 year ago
In this pull request, we add capability to use OpenAI API with new command !gpt [prompt]
The gpt is set up to be a helpful assistant to answer your questions.
The response contains also the cost of the query that is billed on the API key owner.
Reference: https://openai.com/pricing https://platform.openai.com/account/usage https://platform.openai.com/docs/introduction/overview https://github.com/openai/openai-python https://github.com/openai/tiktoken
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
86.4% Coverage 0.0% Duplication
In this pull request, we add capability to use OpenAI API with new command !gpt [prompt]
The gpt is set up to be a helpful assistant to answer your questions.
The response contains also the cost of the query that is billed on the API key owner.
Reference: https://openai.com/pricing https://platform.openai.com/account/usage https://platform.openai.com/docs/introduction/overview https://github.com/openai/openai-python https://github.com/openai/tiktoken