Giter VIP home page Giter VIP logo

bchat's People

Contributors

blushyes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bchat's Issues

第六步,无法获取登录二维码

ubuntu 第六步生成的temp文件有锁,不能打开,解锁后也为空,无二维码 可能是我不太懂你这套代码运行的逻辑,所以没有复现,up有空看看issue ,thanks
9aa9a657c8dc7c7726981f375c0c1a4d
c768996fa6b792bd66573a558b6a8a83
ddd81e58b8f8e46750bebfd761a66262

无法给出返回结果,是讯飞接口问题?

成功!2024-08-05 01:53:27,227 GLOBAL_LOG INFO: 问题:Q:马化腾是谁?
2024-08-05 01:53:27,227 GLOBAL_LOG INFO: 正在准备回复中......
2024-08-05 01:53:27,404 GLOBAL_LOG ERROR: 访问讯飞出错了
2024-08-05 01:53:27,404 GLOBAL_LOG ERROR: Error Code: 11200, Error: AppIdNoAuthError:(09:53:27.389) tokens.total
question 下面这句话如果和给定python列表中的任意一个字符串很相似,你就回答T,否则回答F,并告诉我跟哪个相似
例如:当列表为["你的职业是什么","yes"],我给出的句子为"你的工作是?"的时候,因为"你的工作是?"和列表中的"你的职业是什么"是相似的,所以你要输出"T|你的职业是什么"
现在,列表为:['你是谁', '你是基于什么模型的', 'UP主是谁'],我给你的句子是:"Q:马化腾是谁?"
Traceback (most recent call last):
File "/app/main.py", line 10, in
start()
File "/app/core/init.py", line 111, in start
reply_self.start_loop()
File "/app/core/init.py", line 27, in start_loop
return asyncio.run(self._reply_loop())
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/app/core/init.py", line 51, in _reply_loop
if await reply(cmt):
File "/app/core/init.py", line 76, in reply
answer = xunfei.ask(cmt.message)
File "/app/big_model/xunfei/init.py", line 55, in ask
flag, answer = _pre_ask(content)
File "/app/big_model/xunfei/init.py", line 81, in _pre_ask
response = _proxy_ask(question)
File "/app/big_model/xunfei/init.py", line 119, in _proxy_ask
return _ask(content).generations[-1][-1].text
AttributeError: 'list' object has no attribute 'generations'

docker 镜像无法启动 登录API变更

[root@hcss-ecs-ba9f BChat]# docker logs 9c3eb4d5742c
2024-04-24 15:06:16,812 GLOBAL_LOG INFO: 当前登录平台为linux
Traceback (most recent call last):
File "/app/main.py", line 11, in
context.login_manager.login(context.uid)
File "/app/core/login/simple.py", line 15, in login
credential = login.login_with_qrcode_term() # 在终端扫描二维码登录
File "/usr/local/lib/python3.10/site-packages/bilibili_api/login.py", line 176, in login_with_qrcode_term
qrcode_data = update_qrcode_data()
File "/usr/local/lib/python3.10/site-packages/bilibili_api/login.py", line 89, in update_qrcode_data
qrcode_data = httpx.get(api["url"], follow_redirects=True).json()["data"]
File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 755, in json
return jsonlib.loads(self.content.decode(encoding), **kwargs)
File "/usr/local/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

image

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.