Closed text2sql closed 1 year ago
I am not sure exactly what the problem is. Have you set up the Qdrant either locally or Cloud before you run the main.py
?
I did not do anything specifically. I thought I need to make changes only if I want to run in the cloud. Other than two APIs in .env do I need to do anything else to run it locally?
On Apr 8, 2023, at 11:56 AM, Mehdi Allahyari @.***> wrote:
I am not sure exactly what the problem is. Have you set up the Qdrant either locally or Cloud before you run the main.py?
— Reply to this email directly, view it on GitHub https://github.com/mallahyari/drqa/issues/3#issuecomment-1500920047, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6P4S6C66UC555PWMQXRABLXAGDBXANCNFSM6AAAAAAWXQEADY. You are receiving this because you authored the thread.
You need to set up your Vector database to store and search through embeddings, Qdrant in this case. So you can use the cloud version and they have a free tier that you can set up and get API keys and enter in the .env file. If you would like to use Qdrant locally, you need to get the docker and run it locally. Then you can run the code.
If I set up in qdrant cloud, do I need to change anything in the code?
On Apr 8, 2023, at 12:18 PM, Mehdi Allahyari @.***> wrote:
You need to set up your Vector database to store and search through embeddings, Qdrant in this case. So you can use the cloud version and they have a free tier that you can set up and get API keys and enter in the .env file. If you would like to use Qdrant locally, you need to get the docker and run it locally. Then you can run the code.
— Reply to this email directly, view it on GitHub https://github.com/mallahyari/drqa/issues/3#issuecomment-1500924848, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6P4S6GOIBJAL5CSHEHGPGLXAGFW3ANCNFSM6AAAAAAWXQEADY. You are receiving this because you authored the thread.
When you set up qdrant, enter the host url, and api key in the.env file and run the code. Then you should be running the code without any issues. You can read my code to see how qdrant is initialized.
i am getting this error when running the backend "python main.py" -> "zsh: illegal hardware instruction python main.py"