You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some models support native document-based grounding, some do not. We need to add native support where supported and implement simulated support by injecting generation request docs into the prompt.
The text was updated successfully, but these errors were encountered:
apascal07
changed the title
[Go] Add support for document-based grounding (context)
[Go] [Vertex AI] [Google AI] Document-based grounding support
Feb 10, 2025
Describe the bug
Controlled here in
ModelInfoSupports
:genkit/genkit-tools/common/src/types/model.ts
Line 122 in 96aa4d8
Example middleware in JS:
genkit/js/ai/src/model/middleware.ts
Line 197 in 96aa4d8
Some models support native document-based grounding, some do not. We need to add native support where supported and implement simulated support by injecting generation request docs into the prompt.
The text was updated successfully, but these errors were encountered: