forked from open-webui/open-webui
Merge branch 'dev' into debug_print
This commit is contained in:
commit
371dfc1143
42 changed files with 4942 additions and 5335 deletions
|
@ -141,6 +141,8 @@ def rag_messages(docs, messages, template, k, embedding_function):
|
|||
k=k,
|
||||
embedding_function=embedding_function,
|
||||
)
|
||||
elif doc["type"] == "text":
|
||||
context = doc["content"]
|
||||
else:
|
||||
context = query_doc(
|
||||
collection_name=doc["collection_name"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue