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 docs are very hidden / should be linked from ai.google.dev/gemini-api and main readme #501

Open
ochafik opened this issue Aug 8, 2024 · 0 comments

Comments

@ochafik
Copy link

ochafik commented Aug 8, 2024

Description of the bug:

The only place w/ actual Python classes / methods docs seems to be in the repo under docs/api/google/generativeai.md

However, there's a prominent ai.google.dev/gemini-api/docs link which immediately takes the user away. There, one might expect API Reference to be it, but alas, no API docs either (nor from the Cookbook).

Luckily Gemini's GenerativeModel doc does seem to now rank higher than Vertex AI's on Google Search, but the latter looks more appealing and there's no warning about their differences.

image

(for instance, I tripped up on the lack of system_instruction param in GenerativeModel.generate_text - it's actually in the class' ctor), when the closest to an API doc I could find on ai.google.dev, the REST API for models.generateContent, listed it, similar to vertex ai's doc)

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

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

No branches or pull requests

1 participant