Skip to content

How to get structured output but use tools and retain messages #3323

Answered by ppetrick
ppetrick asked this question in Help
Discussion options

You must be logged in to vote

Appreciate the responses. Ended up using streaming data and nesting a generateobject in the onfinish of the streamtext to generate the citation object. Feels a bit clunky, but gets the job done.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lgrammel
Comment options

@ppetrick
Comment options

@lgrammel
Comment options

@ppetrick
Comment options

Answer selected by ppetrick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants