Closed MarkDaoust closed 1 month ago
protos.GenerateContentRequest - that has no use in this SDK, so might be confusing
Yes, it just didn't seem worth sorting through these 1 by one to decide which to include and which not to include.
still refer to google.ai.generativelanguage - I think that's fine, since it's both the truth and a dependency - but it means fields like ToolConfig are no longer linked.
Is there any way we can fix this? Add a find and replace in the generation process?
and maybe doesn't matter with API ref changes coming.
Yeah, that turns it into a real API-reference. But leaves us with nowhere that the SDKs are described in detail?
The main changes are:
genai.protos
module, just containingfrom google.ai.generativelanguage_v1beta.types import *
.import google.ai.generativelanguage as glm
withfrom google.generativeai import protos
.glm.
withprotos.
.glm.*Client
.glm.
build_docs.py
script.Manual changes: