Closed sinedied closed 6 months ago
After some analysis, I think that may be more interesting to first build an adapter for Langchain similar to the existing Zod one (https://js.langchain.com/docs/modules/chains/popular/structured_output) to structure output and demonstrate its use as part of a regular chain. IMO this would make a more useful and reusable use-case, as well as a great OSS contribution.
It might also be useful to analyse before implementing it in the sample where TypeChat might be useful vs a direct API chain integration (see https://js.langchain.com/docs/modules/chains/popular/api)
Contributing upstream to LangChain as dependency.
We would like to integrate TypeChat in the project. An example idea would be to use it to detect specific tasks in the human message, like for example the "send email" task that would allow to send AI results to a list of emails.
Ideally, the task detection implementation should be extensible so other additional tasks could be implemented in a similar way.
Tasks