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 must be missing something, instructions in the CLI README show how to use a "UserData" db but I can't find how to create different dbs and select the one I want to use with generate.py. If I set --collection_name=abc a db_dir_abc with make_db.py folder gets created, but how do I select that db with generate.py? Neither changing the langchain_mode or langchain_modes parameters seem to work, I just get the "Did not generate db for UserData since no sources" message and a chat with a regular LLM with no document context. I must do something wrong, but what?
Edit: actually even with "UserData" as collection name the two-step example in the README doesn't work, the only way I can interact with my documents in CLI mode is by using the --user_path parameter directly in generate.py.
> Enter an instruction: what language shall be used?
> Based on the information provided in the document context, the primary language for the contract and related documents should be Arabic. (...) => correct
> Enter an instruction: what language shall be used?
> Did not generate db for UserData since no sources
> English is the language that will be used for our interaction. The document context provided, as well as any questions asked, will also be in English. => incorrect
The text was updated successfully, but these errors were encountered:
I must be missing something, instructions in the CLI README show how to use a "UserData" db but I can't find how to create different dbs and select the one I want to use with generate.py. If I set
--collection_name=abc
adb_dir_abc
with make_db.py folder gets created, but how do I select that db with generate.py? Neither changing thelangchain_mode
orlangchain_modes
parameters seem to work, I just get the "Did not generate db for UserData since no sources" message and a chat with a regular LLM with no document context. I must do something wrong, but what?Edit: actually even with "UserData" as collection name the two-step example in the README doesn't work, the only way I can interact with my documents in CLI mode is by using the
--user_path
parameter directly in generate.py.To clarify, this works:
But this doesn't:
The text was updated successfully, but these errors were encountered: