pathwaycom / pathwaycom/pathway

Allow setting query transformers in the BaseRAGQA

Open
#67 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Python
Stars
62.3k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

There are already set of prompts such as prompt_query_rewrite and prompt_query_rewrite_hyde, allow setting the query transformation behaviour in the BaseRAGQA initialization. It can default to None to skip it.

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 by locating the BaseRAGQA initialization and the existing prompt_query_rewrite and prompt_query_rewrite_hyde prompts. Confirm how query transformation is currently selected, then verify that initialization can configure this behavior, including skipping it when the setting defaults to None.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.