mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-08-17 10:20:35 +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