Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bug whithin the code #1

Open
gautax opened this issue Sep 2, 2024 · 0 comments
Open

A bug whithin the code #1

gautax opened this issue Sep 2, 2024 · 0 comments

Comments

@gautax
Copy link

gautax commented Sep 2, 2024

When trying the implement the code as it it, I encounter an issue when trying to ingest data into the vectorDB:
TypeError: init() missing 2 required positional arguments: 'doc' and 'pos'
Traceback:
File "C:\Users\pc\desktop\R-A-G\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "C:\Users\pc\Desktop\R-A-G\app.py", line 101, in
migrate_data_to_vectordb(username)
File "C:\Users\pc\Desktop\R-A-G\app.py", line 57, in migrate_data_to_vectordb
run_main(flow)
Before this i encountered another typeError saying the the function run_main needs 5 arguments when only one is given, i was wondering if there is a solution to redirect this error. I appreciate your Help in advance.
I'm working on windows 10 and using python 3.9.13 version if that could help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant