Spaces:
Sleeping
Sleeping
Update rag_engine.py
Browse files5 unmodified lines6789101133 unmodified lines4546474849505 unmodified linesget_embedding,cosine_similarity,)def build_rag_chunks_from_file(file, doc_type_val: str) -> List[Dict]:33 unmodified linesreturn []def retrieve_relevant_chunks(question: str,rag_chunks: List[Dict],5 unmodified lines678910111233 unmodified lines464748495051525 unmodified linesget_embedding,cosine_similarity,)from langsmith import traceabledef build_rag_chunks_from_file(file, doc_type_val: str) -> List[Dict]:33 unmodified linesreturn []@traceable(run_type="retriever", name="retrieve_relevant_chunks")def retrieve_relevant_chunks(question: str,rag_chunks: List[Dict],
rag_engine.py+2