mirror of
https://github.com/StanGirard/quivr.git
synced 2025-01-05 18:57:48 +03:00
feat(rag): Refactor DEFAULT_DOCUMENT_PROMPT in quivr_rag.py
This commit is contained in:
parent
309666f3fd
commit
81939457e6
@ -64,9 +64,7 @@ ANSWER_PROMPT = ChatPromptTemplate.from_messages(
|
||||
|
||||
# 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):
|
||||
|
Loading…
Reference in New Issue
Block a user