Code Monkey home page Code Monkey logo

Comments (7)

Yusuf-Demiryurek avatar Yusuf-Demiryurek commented on May 23, 2024 1

Hello, the issue is related to the absence of the vector database. The script generates the database only if the folder PrivateDocBot\vectorstore\db_faiss is empty. However, when you clone this repository, there is a readme file in that folder. Please delete the readme.md file from this folder and try the process again.

from privatedocbot.

Abhi5h3k avatar Abhi5h3k commented on May 23, 2024 1

hello, I am trying to use your code however I encounter this error:

Error in __cdecl faiss::FileIOReader::FileIOReader(const char *) at D:\a\faiss-wheels\faiss-wheels\faiss\faiss\impl\io.cpp:68: Error: 'f' failed: could not open vectorstore\db_faiss\index.faiss for reading: No such file or directory

Have you encountered it and if so how to resolve it

Thank you

PrivateDocBot\vectorstore\db_faiss needs to be empty; currently, there is a README file. Changes have been made in the new code to ignore this file. Thanks to @Yusuf-Demiryurek for pointing it out.

from privatedocbot.

adamcodes716 avatar adamcodes716 commented on May 23, 2024

hello, I am trying to use your code however I encounter this error:

Error in __cdecl faiss::FileIOReader::FileIOReader(const char *) at D:\a\faiss-wheels\faiss-wheels\faiss\faiss\impl\io.cpp:68: Error: 'f' failed: could not open vectorstore\db_faiss\index.faiss for reading: No such file or directory

Have you encountered it and if so how to resolve it

Thank you

I am getting the same error. Has anyone figured out the issue?

from privatedocbot.

adamcodes716 avatar adamcodes716 commented on May 23, 2024

I did make a little bit of progress on this. I thought I was using the required version of python only to discover that I had not restarted my command prompt. Once I restarted the command prompt and verified 3.11.0, I am now getting a different error. I have not modified anything after downloading. I did try to generate prisma by issuing "prisma generate" but that did not help.

File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\routing.py", line 677, in lifespan
async with self.lifespan_context(app) as maybe_state:
File "C:\Users\auser\AppData\Local\Programs\Python\Python311\Lib\contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "", line 1231, in handle_fromlist
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\prisma_init
.py", line 45, in getattr
raise RuntimeError(
RuntimeError: The Client hasn't been generated yet, you must run prisma generate before you can use the client.
See https://prisma-client-py.readthedocs.io/en/stable/reference/troubleshooting/#client-has-not-been-generated-yet

from privatedocbot.

diouck avatar diouck commented on May 23, 2024

Thanks for your feedback. It works but we get this error:

401 Client Error. (Request ID: Root=1-655b5fa8-697813fe6ffd92f0377a0ac0;50ab74ec-cd96-4507-a668-e98306085975)

Repository Not Found for url: https://huggingface.co/api/models/models/mistral-7b-openorca.Q4_K_M.gguf/revision/main.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.

from privatedocbot.

Yusuf-Demiryurek avatar Yusuf-Demiryurek commented on May 23, 2024

You're welcome, did you try to download the model by yourself from huggingface and put it in the models folder ?

from privatedocbot.

Abhi5h3k avatar Abhi5h3k commented on May 23, 2024

Thanks for your feedback. It works but we get this error:

401 Client Error. (Request ID: Root=1-655b5fa8-697813fe6ffd92f0377a0ac0;50ab74ec-cd96-4507-a668-e98306085975)

Repository Not Found for url: https://huggingface.co/api/models/models/mistral-7b-openorca.Q4_K_M.gguf/revision/main. Please make sure you specified the correct repo_id and repo_type. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid username or password.

@diouck Make sure you have downloaded a model and placed it in the 'models' directory.

dir_structure

from privatedocbot.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.