Comments (9)
from resume-matcher.
I just updated it, the problem is still there.
from resume-matcher.
Hi @XuehangXu0907 , can you share the complete stack trace for the error?
from resume-matcher.
from resume-matcher.
if my knowledge is correct, Can you please check the qdrant url in config file? it might be incorrect. This error comes for an incorrect hostname during a socket connection in python too.
from resume-matcher.
Hey, I have updated the readme for the error, you need to open the cluster once and enter your api key for the first time and then you can use it as intended. Also , please make sure you have your api keys in the config.yml file .
from resume-matcher.
I have the exact same stacktrace, although a different error message, and this is on Linux in Docker:
ResponseHandlingException: [Errno -2] Name or service not known
Traceback:
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/data/Resume-Matcher/streamlit_app.py", line 282, in <module>
result = get_similarity_score(resume_string, jd_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/Resume-Matcher/scripts/similarity/get_similarity_score.py", line 153, in get_similarity_score
qdrant_search = QdrantSearch([resume_string], job_description_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/Resume-Matcher/scripts/similarity/get_similarity_score.py", line 92, in __init__
self.qdrant.recreate_collection(
File "/usr/local/lib/python3.11/site-packages/qdrant_client/qdrant_client.py", line 1609, in recreate_collection
self.delete_collection(collection_name)
File "/usr/local/lib/python3.11/site-packages/qdrant_client/qdrant_client.py", line 1543, in delete_collection
result: Optional[bool] = self.http.collections_api.delete_collection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/qdrant_client/http/api/collections_api.py", line 788, in delete_collection
return self._build_for_delete_collection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/qdrant_client/http/api/collections_api.py", line 268, in _build_for_delete_collection
return self.api_client.request(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/qdrant_client/http/api_client.py", line 68, in request
return self.send(request, type_)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/qdrant_client/http/api_client.py", line 85, in send
response = self.middleware(request, self.send_inner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/qdrant_client/http/api_client.py", line 188, in __call__
return call_next(request)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/qdrant_client/http/api_client.py", line 97, in send_inner
raise ResponseHandlingException(e)
Running docker-compose up
after setting the yml. It's only the last response that is failing. I've double checked the qdrant url and tried with and without the port.
from resume-matcher.
Hi @drewbitt , did you try with the api keys and the cluster url in the config.yml file , also as mentioned you may have to open the cluster once to enter your API key there. You can check the commit in the PR I have referenced above
from resume-matcher.
Thanks @SubramanyamChalla24 I've merged your PR which resolves this issue.
from resume-matcher.
Related Issues (20)
- Can't get Cohere free api key HOT 2
- Move API keys and qdrant URL from config file to environment varibales. HOT 1
- Conflict in Dependency Versions: urllib3 and typing_extensions HOT 4
- [Errno -3] Temporary failure in name resolution HOT 2
- Issue with docker pull HOT 9
- Streamlit App fails if base folder is not named "Resume-Matcher" HOT 6
- HR AI HOT 1
- Unable To Start Webapp HOT 14
- Shift docs to a "Docs" folder. HOT 4
- Create a SECURITY.md HOT 4
- Feature Request: Enhanced Resume and Job Description Selection Experience (In-app Upload)
- Create a CONTRIBUTING.md HOT 3
- Use sidebar to utilize the screen area better HOT 5
- In local after running python run_first.py resumes and job description are not being processed into json.. HOT 3
- Adding a back to top button. HOT 5
- Misspell of `resume` on the contributing markdown file HOT 4
- To create a link that opens a new web page window or tab HOT 2
- [BUG] - Next.js Full Stack Web App Throws Exception to UI on Startup
- Modifications needed in extracting phone numbers from resume text. HOT 2
- Better support of PDF generated by Word (Export menu) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resume-matcher.