rootCircle / rootCircle/docFiller
[Feature]: Stablize prompts for all QType
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 67
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Description
Recently, we introduced langchain output parser in #33, which will help give us the desired output in JSON, Date object, or String wherever required! Since, introducing that, the extensive prompt that we had in promptEngine.ts will become redundant and can act as source to hallucinate the LLM as well in some cases!
Suggested Solution
We remove unnecessary output instructions from the prompts and vet the output as well! Some prompts also have example as output as well like MULTI_CORRECT etc, in that the response and input and prompt vary a lot, we need to fix that as well! Please don't club this issue with any other!
Alternatives
No response
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with promptEngine.ts and the langchain output-parser changes introduced in #33. Review the prompts for each QType, especially MULTI_CORRECT, and identify redundant output instructions or mismatched examples. Done means prompts no longer duplicate parser guidance and their outputs are vetted consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100