enh: append citations with distance scores

This commit is contained in:
Jannik Streidl 2024-10-07 21:11:04 +02:00
parent 86caca495b
commit b105efa05f

View File

@ -398,6 +398,7 @@ def get_rag_context(
"source": context["file"],
"document": context["documents"][0],
"metadata": context["metadatas"][0],
"distances": context["distances"][0]
}
)
except Exception as e: