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

VertexAI Generator: Custom Parameters #1022

Closed
quasi-deus opened this issue Aug 24, 2024 · 0 comments · Fixed by #1100
Closed

VertexAI Generator: Custom Parameters #1022

quasi-deus opened this issue Aug 24, 2024 · 0 comments · Fixed by #1100
Assignees
Labels

Comments

@quasi-deus
Copy link

Problem

I want to provide my own set of fine tuning parameters to VertexAI generators. This includes tool_config, system_instruction(given that Gemini does not support system ChatMessages) during intialization, and stream(to _send_message) when calling the model.

Solution

To add all these parameters to the function declaration in VertexAI/Gemini generators like for OpenAI generators.

I would be more than happy to create a PR for the same, if this wasn't an intentional design choice.

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