Support Google Cloud Natural Language API
zorak1103 opened this issue · 3 comments
Is your feature request related to a problem? Please describe.
With Google Cloud Natural Language API and Bard, Google offers similar functions to OpenAI with ChatGPT.
Describe the solution you'd like
The connection is made via a REST API, which enables developers to use Bard in their applications. Requests are sent as HTTP POST requests with a JSON body. Integration in sgpt should therefore be possible and very similar to ChatGPT.
Describe alternatives you've considered
n/a
Search
- I did search for other open and closed issues before opening this
Project
- I have verified that I am using the Go implementation of SGPT (this project) and that it is not another project
Code of Conduct
- I agree to follow this project's Code of Conduct
Additional context
No response
Also support Google Gemini MMLU: https://deepmind.google/technologies/gemini/
To use Gemini/Pro go to https://makersuite.google.com/ and create an api key.
Right now, not all countries are supported: https://ai.google.dev/tutorials/ai-studio_faqs#understand-403-errors
Go library: https://github.com/google/generative-ai-go
Go example: https://ai.google.dev/tutorials/go_quickstart