Skip to content

[native_doc_dartifier] Add Gemini caller Utility #2306

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

Open
marshelino-maged opened this issue May 16, 2025 · 0 comments
Open

[native_doc_dartifier] Add Gemini caller Utility #2306

marshelino-maged opened this issue May 16, 2025 · 0 comments

Comments

@marshelino-maged
Copy link
Contributor

marshelino-maged commented May 16, 2025

Creating a utility that calls the Gemini LLM with a given prompt and an optional JSON schema:

  • Accepting a prompt with an output JSON schema with descriptions for each field, which will be concatenated with the prompt, ensuring the final output is easily parseable and aligned with structured data.

  • Accepting a prompt without an output JSON schema will require some work to handle and parse the output of the LLM to continue working with it.

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

No branches or pull requests

2 participants