mirror of
https://github.com/StanGirard/quivr.git
synced 2025-01-08 12:19:24 +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
|
# How we format documents
|
||||||
|
|
||||||
DEFAULT_DOCUMENT_PROMPT = PromptTemplate.from_template(
|
DEFAULT_DOCUMENT_PROMPT = PromptTemplate.from_template(template="{page_content}")
|
||||||
template="File: {file_name} Content: {page_content}"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def is_valid_uuid(uuid_to_test, version=4):
|
def is_valid_uuid(uuid_to_test, version=4):
|
||||||
|
Loading…
Reference in New Issue
Block a user