Giter Site home page Giter Site logo

Comments (5)

imchao9 avatar imchao9 commented on August 29, 2024

你好,我看了这个项目用的是httpx来进行的请求
而我通过httpx来请求,并设置代理后,访问向量服务器就会报502
目前没有找到比较好的解决办法,有什么思路可以提供一下吗

from document.ai.

GanymedeNil avatar GanymedeNil commented on August 29, 2024

你好,我看了这个项目用的是httpx来进行的请求 而我通过httpx来请求,并设置代理后,访问向量服务器就会报502 目前没有找到比较好的解决办法,有什么思路可以提供一下吗

你可以尝试设置 no_proxy 向量服务器地址来绕过代理

from document.ai.

TOM08323049 avatar TOM08323049 commented on August 29, 2024

但是国内的IP被openai API拒绝访问,这个有什么办法解决吗?

from document.ai.

TOM08323049 avatar TOM08323049 commented on August 29, 2024

如果我根据自己的vpn设置端口,openai.proxy = 'http://127.0.0.1:10010/'
最后的报错是这样的qdrant_client.http.exceptions.ResponseHandlingException: timed out

from document.ai.

GanymedeNil avatar GanymedeNil commented on August 29, 2024

如果我根据自己的vpn设置端口,openai.proxy = 'http://127.0.0.1:10010/' 最后的报错是这样的qdrant_client.http.exceptions.ResponseHandlingException: timed out

请查看上面我回复的

from document.ai.

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.