-
Notifications
You must be signed in to change notification settings - Fork 623
feat(go/genkit): added persistent chat session and agent support #1592
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
base: main
Are you sure you want to change the base?
Conversation
apascal07
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Louise, could you please a sample that uses this new API? We'll use it as the canonical one for playing around with this in Dev UI.
Added in description, went with the same examples we have in node |
|
Can you actually add
Can you actually commit this to the |
Yep, done |
| } | ||
|
|
||
| // WithOutputSchema adds provided output schema to the chat. | ||
| func WithOutputSchema(schema any) ChatOption { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to have a stricter type here like in prompt and generate cases, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WithOutputSchema in generate also takes any and doesn't do any type checking? The schema in chat is just passed along to the generate WithOutputSchema function
|
Any update on this? I would like to try switch from Node to Go, but this is the feature I'm missing |
Hi David, thanks for your interest in this! We're going to come back to this shortly and try to have it out in the next few weeks. Thanks for your patience. |
|
@apascal07 Hi there! What's needed to move this PR along? |
We will pick work back up here very soon with a redefined design and scope. |
Uh oh!
There was an error while loading. Please reload this page.