File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ def _add_additional_metadata_docs(
476476
477477
478478def _process_rag_chunks_for_documents (
479- rag_chunks : list ,
479+ rag_chunks : list [ ReferencedDocument ] ,
480480 metadata_map : Optional [dict [str , Any ]] = None ,
481481) -> list [tuple [Optional [AnyUrl ], str ]]:
482482 """
@@ -532,7 +532,7 @@ def _process_rag_chunks_for_documents(
532532
533533
534534def create_referenced_documents (
535- rag_chunks : list ,
535+ rag_chunks : list [ ReferencedDocument ] ,
536536 metadata_map : Optional [dict [str , Any ]] = None ,
537537 return_dict_format : bool = False ,
538538) -> list [ReferencedDocument ] | list [dict [str , Optional [str ]]]:
@@ -601,7 +601,7 @@ def create_referenced_documents_with_metadata(
601601
602602
603603def create_referenced_documents_from_chunks (
604- rag_chunks : list ,
604+ rag_chunks : list [ ReferencedDocument ] ,
605605) -> list [ReferencedDocument ]:
606606 """
607607 Create referenced documents from RAG chunks for query endpoint.
You can’t perform that action at this time.
0 commit comments