Skip to content

Commit

Permalink
feat(rag): Refactor DEFAULT_DOCUMENT_PROMPT in quivr_rag.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Apr 17, 2024
1 parent 309666f commit 8193945
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/modules/brain/rags/quivr_rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@

# How we format documents

DEFAULT_DOCUMENT_PROMPT = PromptTemplate.from_template(
template="File: {file_name} Content: {page_content}"
)
DEFAULT_DOCUMENT_PROMPT = PromptTemplate.from_template(template="{page_content}")


def is_valid_uuid(uuid_to_test, version=4):
Expand Down

0 comments on commit 8193945

Please sign in to comment.