You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that you modified the code yesterday, but I feel that there are some areas that are not correct, especially the file reading and querying parts of the asynchronous code. Would it be better to switch to asynchronous?
with open("./hanye.txt", "r", encoding="utf-8") as f: content = f.read() await rag.ainsert(content)
I saw that you modified the code yesterday, but I feel that there are some areas that are not correct, especially the file reading and querying parts of the asynchronous code. Would it be better to switch to asynchronous?
with open("./hanye.txt", "r", encoding="utf-8") as f: content = f.read() await rag.ainsert(content)
naive_result = await rag.aquery(query, param=QueryParam(mode="naive")) print("Naive search result:", naive_result)
The text was updated successfully, but these errors were encountered: