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: 2 comments 9 replies

Comment options

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

@ppetrick
Comment options

@lgrammel
Comment options

@ppetrick
Comment options

Answer selected by ppetrick
@lgrammel
Comment options

@mrasoahaingo
Comment options

@lgrammel
Comment options

@benjaminalgreen
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants