Code Monkey home page Code Monkey logo

Comments (9)

srbhr avatar srbhr commented on May 24, 2024

from resume-matcher.

XuehangXu0907 avatar XuehangXu0907 commented on May 24, 2024

I just updated it, the problem is still there.

from resume-matcher.

SubramanyamChalla24 avatar SubramanyamChalla24 commented on May 24, 2024

Hi @XuehangXu0907 , can you share the complete stack trace for the error?

from resume-matcher.

mediheb-codes avatar mediheb-codes commented on May 24, 2024

image

from resume-matcher.

ojhakumargaurav avatar ojhakumargaurav commented on May 24, 2024

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.

SubramanyamChalla24 avatar SubramanyamChalla24 commented on May 24, 2024

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.

drewbitt avatar drewbitt commented on May 24, 2024

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.

image

from resume-matcher.

SubramanyamChalla24 avatar SubramanyamChalla24 commented on May 24, 2024

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.

srbhr avatar srbhr commented on May 24, 2024

Thanks @SubramanyamChalla24 I've merged your PR which resolves this issue.

from resume-matcher.

Related Issues (20)

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.