3 ms·
You don't make multiple calls, you ask for a structured output and use some of the keys as the "chain links" in the chain of thought
by BoorishBears 3y ago
You don't make multiple calls, you ask for a structured output and use some of the keys as the "chain links" in the chain of thought
- anoy8888 3y agoIs there an example on how to do this ?
- BoorishBears 3y agoContrived example, but say I'm summarizing an arbitrary document, I might ask for JSON with the following keys and instructions: - purpose: one sentence on why would someone want to summarize this document - effect: one sentence on how this affects the strategy we should use to summarize it vs a naive approach - summary: one paragraph with the summary of the document based on purpose and effect The LLM will change its summary based on the keys that come before summary in a meaningful way