mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-11 13:32:16 +02:00
nit update
This commit is contained in:
parent
25a57e2292
commit
eb227c0acc
@ -74,7 +74,7 @@ def format_docs(docs: Sequence[InferenceSection]) -> str:
|
||||
formatted_doc_list = []
|
||||
|
||||
for doc_num, doc in enumerate(docs):
|
||||
title: str | None = doc.center_chunk.title if doc.center_chunk.title else None
|
||||
title: str | None = doc.center_chunk.title
|
||||
metadata: dict[str, str | list[str]] | None = (
|
||||
doc.center_chunk.metadata if doc.center_chunk.metadata else None
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user