Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Google Cloud Natural Language API #173

Open
3 tasks done
zorak1103 opened this issue Nov 15, 2023 · 3 comments
Open
3 tasks done

Support Google Cloud Natural Language API #173

zorak1103 opened this issue Nov 15, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@zorak1103
Copy link
Contributor

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

@zorak1103 zorak1103 added the enhancement New feature or request label Nov 15, 2023
@tbckr tbckr removed their assignment Nov 25, 2023
@tbckr
Copy link
Owner

tbckr commented Dec 6, 2023

Also support Google Gemini MMLU: https://deepmind.google/technologies/gemini/

@tbckr tbckr self-assigned this Dec 16, 2023
@tbckr
Copy link
Owner

tbckr commented Dec 16, 2023

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

@tbckr
Copy link
Owner

tbckr commented Feb 25, 2024

Related to: #232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants