rootCircle / rootCircle/docFiller

[Feature]: Stablize prompts for all QType

Open
#34 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue gpt-engine prompt-engine
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.