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

API URL to Gemini 1.0 Pro has an incorrect endpoint #22

Closed
Jelena-P opened this issue May 2, 2024 · 3 comments
Closed

API URL to Gemini 1.0 Pro has an incorrect endpoint #22

Jelena-P opened this issue May 2, 2024 · 3 comments
Labels
contribution Valuable Contribution type/incorrect-statement Statements in the documentation are incorrect.

Comments

@Jelena-P
Copy link

Jelena-P commented May 2, 2024

Issue description

The API URL to Gemini 1.0 Pro has an incorrect endpoint. It should be

'$DEPLOYMENT_URL/models/gemini-1.0-pro:generateContent'

instead of

'$DEPLOYMENT_URL/chat/models/gemini-1.0-pro:generateContent.

Reported here: https://www.linkedin.com/posts/abesh_if-you-are-using-googles-gemini-pro-on-sap-activity-7191242993553571841-dP0x

Feedback Type (Optional)

incorrect statement

Page Title on SAP Help Portal (prefilled)

Consume Generative AI Models

Page URL on SAP Help Portal (prefilled)

https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/consume-generative-ai-models-using-sap-ai-core

@helenaaaaaaaaaa
Copy link
Contributor

Thankyou for your contribution, we'll look into it and come back to you if we need more information.

@karu-0711 karu-0711 added contribution Valuable Contribution type/incorrect-statement Statements in the documentation are incorrect. labels May 4, 2024
Copy link

sap-doc-bot bot commented May 4, 2024

Thank you for your valuable feedback contribution, @Jelena-P! So that we can recognize your contribution in the SAP Community, please check your SAP Community user ID (this is a number) in your personal settings page and share it with us in a reply to this comment. Make sure you just include the number in the reply.

Your user ID is displayed as follows:

Change display name for User ID N

where N is your user ID. For example, 53 is the user ID of the user 'qmacro'.

Please note that we are currently refactoring our profile and badge system on the SAP Community, and will start assigning badges again when that's complete.

@karu-0711
Copy link
Contributor

Hi @Jelena-P. Thank you for bringing this to our attention. We have now published a corrected version of the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution Valuable Contribution type/incorrect-statement Statements in the documentation are incorrect.
Projects
None yet
Development

No branches or pull requests

3 participants