-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Supporting multi chunk for large documents (#335)
* Simple and subquestion retriever * Migration file * Removing Query modification for Simple Retriever Co-authored-by: Hari John Kuriakose <[email protected]> Signed-off-by: harini-venkataraman <[email protected]> * Removing query changes ti simple retriever * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixing pre-commit issues * Pre-commit issue fixes --------- Signed-off-by: harini-venkataraman <[email protected]> Co-authored-by: Hari John Kuriakose <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
307bc4f
commit afd2238
Showing
5 changed files
with
61 additions
and
22 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
..._studio/prompt_profile_manager/migrations/0011_alter_profilemanager_retrieval_strategy.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Generated by Django 4.2.1 on 2024-05-14 09:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
( | ||
"prompt_profile_manager", | ||
"0010_alter_profilemanager_retrieval_strategy_and_more", | ||
), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="profilemanager", | ||
name="retrieval_strategy", | ||
field=models.TextField( | ||
blank=True, | ||
choices=[ | ||
("simple", "Simple retrieval"), | ||
("subquestion", "Subquestion retrieval"), | ||
], | ||
db_comment="Field to store the retrieval strategy for prompts", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters