ianarawjo / ianarawjo/ChainForge

Feature request: incorporate something like typechat to have nodes that transform data in typed ways

Open
#173 1 comment 2 reactions 0 assignees View on GitHub
Community ask help wanted
Dominant language
TypeScript
Stars
3k
Forks
256
Avg merge
4h 40m
Merged PRs (30d)
22

Description

Currently we need to add prompts like...
```
return a comma separated list of each of the questions here: {q}
Be sure what you return is a comma separated list. Don't have quotes around the list.
```

This is hard to do, easy to mess up, and scattered across my chain...

i am suggesting you do something like
add a set of predefined (but editable) nodes that transform llm responses into lists, bools, sentiment, etc...

one such wa of doing this would be to use a lib like typechat https://github.com/microsoft/TypeChat
which really just adds consistent gunk to the context the ensure a consistent output form an llm

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.