Closed patrickwalton closed 3 years ago
I can add this to the documentation as well. Are you calling the helper method directly or the fetch_max_search_doc
wrapper?
Added a must be awaited
header to all functions that need to be awaited
: https://github.com/OthersideAI/chronology/blob/main/README.md#fetch_max_search_doc
It doesn't run independently without await. Running by itself:
semantic_search(query, documents)
yields the error
RuntimeWarning: coroutine 'fetch_max_search_doc' was never awaited