Giter Site home page Giter Site logo

登录boss扫码之后 程序自动退出了。。。 控制台也看不出来是因为什么 about auto_job__find__chatgpt__rpa HOT 8 OPEN

frrrrrrrrank avatar frrrrrrrrank commented on June 8, 2024
登录boss扫码之后 程序自动退出了。。。 控制台也看不出来是因为什么

from auto_job__find__chatgpt__rpa.

Comments (8)

507402 avatar 507402 commented on June 8, 2024 1

An error occurred: Error code: 400 - {'error': {'message': "3.0 is greater than the maximum of 2 - 'temperature'", 'type': 'invalid_request_error', 'param': None, 'code': None}}报错问题已解决,这个问题是由于.env文件中# OPENAI_BASE_URL=https://api.openai.com/v1/被取消掉注释导致的,这个注释取消后程序会走langchain的逻辑,导致openai的apikey不可用

请使用open api key时,遇到这个问题的同学在.env文件中将第一行修改为作者github仓库中的样子,只修改open api key的那一行内容

from auto_job__find__chatgpt__rpa.

Frrrrrrrrank avatar Frrrrrrrrank commented on June 8, 2024

这个属于常见错误,应该是你扫码之后,加载页面时间有点长,然后没等加载好,我设置的等待时间就到了,没找到按钮退出?你可以试一下换个更快的网,要是还存在这个问题,你就在扫码登录的逻辑后面,加一个硬休止,time.sleep,然后截一下你页面的图片,我给你看看

from auto_job__find__chatgpt__rpa.

Hezhexi2002 avatar Hezhexi2002 commented on June 8, 2024

这个属于常见错误,应该是你扫码之后,加载页面时间有点长,然后没等加载好,我设置的等待时间就到了,没找到按钮退出?你可以试一下换个更快的网,要是还存在这个问题,你就在扫码登录的逻辑后面,加一个硬休止,time.sleep,然后截一下你页面的图片,我给你看看

image
image
@Frrrrrrrrank 佬,我在log_in后面加了time.sleep(10)之后还是会遇到一样的报错,另外我没有使用原始代码的OpenAIEmbeddings,因为我使用的moonshot api似乎没有提供embedding的接口,我换成了HuggingFaceInstructEmbeddings应该没有影响吧:
image

from auto_job__find__chatgpt__rpa.

507402 avatar 507402 commented on June 8, 2024

这个属于常见错误,应该是你扫码之后,加载页面时间有点长,然后没等加载好,我设置的等待时间就到了,没找到按钮退出?你可以试一下换个更快的网,要是还存在这个问题,你就在扫码登录的逻辑后面,加一个硬休止,time.sleep,然后截一下你页面的图片,我给你看看

图像 图像 佬,我在log_in后面加了time.sleep(10)之后还是会遇到一样的报错,另外我没有使用原始代码的OpenAIEmbeddings,因为我使用的大胆创新计划 api似乎没有提供embedding的接口,我换成了HuggingFaceInstructEmbeddings应该没有影响吧: 图像

我也遇到了你相同的报错,我在这篇帖子里找到了相关答案:https://stackoverflow.com/questions/64660815/how-to-fix-edge-and-chrome-driver-errors-of-selenium-with-java-project,目前尝试下载123版本的谷歌driver并放到python根目录下失败,准备尝试下载老版本的谷歌driver看看

from auto_job__find__chatgpt__rpa.

507402 avatar 507402 commented on June 8, 2024

这个属于常见错误,应该是你扫码之后,加载页面时间有点长,然后没等加载好,我设置的等待时间就到了,没找到按钮退出?你可以试一下换个更快的网,要是还存在这个问题,你就在扫码登录的逻辑后面,加一个硬休止,time.sleep,然后截一下你页面的图片,我给你看看

图像 图像佬,我在log_in后面加了time.sleep(10)之后还是会遇到一样的报错,另外我没有使用原始代码的OpenAIEmbeddings,因为我使用的大胆创新计划 api似乎没有提供embedding的接口,我换成了HuggingFaceInstructEmbeddings应该没有影响吧:图像

我也遇到了你相同的报错,我在这篇帖子里找到了相关答案:https://stackoverflow.com/questions/64660815/how-to-fix-edge-and-chrome-driver-errors-of-selenium-with-java-project,目前尝试下载123版本的谷歌驱动程序并放到python根目录下失败,准备尝试下载老版本的谷歌司机看看

好吧,这并不能解决这个问题

from auto_job__find__chatgpt__rpa.

507402 avatar 507402 commented on June 8, 2024

问题解了。。。请在write_response.py文件下最后一行这里找到这一行
image
将xxxx改为你的职位标签,然后现在它报错An error occurred: Error code: 400 - {'error': {'message': "3.0 is greater than the maximum of 2 - 'temperature'", 'type': 'invalid_request_error', 'param': None, 'code': None}}
image

from auto_job__find__chatgpt__rpa.

507402 avatar 507402 commented on June 8, 2024

An error occurred: Error code: 400 - {'error': {'message': "3.0 is greater than the maximum of 2 - 'temperature'", 'type': 'invalid_request_error', 'param': None, 'code': None}}报错问题已解决,这个问题是由于.env文件中# OPENAI_BASE_URL=https://api.openai.com/v1/被取消掉注释导致的,这个注释取消后程序会走langchain的逻辑,导致openai的apikey不可用

from auto_job__find__chatgpt__rpa.

loks666 avatar loks666 commented on June 8, 2024

非官方的不仅要修改key,还需要修改base url,如果不改的话默认是发送给open api的,你的key又不是官方的key,当然调不通啦

from auto_job__find__chatgpt__rpa.

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.