Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR | huixiangdou.service.llm_server_hybrid:call_openai_api:183 #113

Open
Modas-Li opened this issue Mar 8, 2024 · 4 comments
Open

ERROR | huixiangdou.service.llm_server_hybrid:call_openai_api:183 #113

Modas-Li opened this issue Mar 8, 2024 · 4 comments

Comments

@Modas-Li
Copy link
Contributor

Modas-Li commented Mar 8, 2024

使用xi-api报错,启动main程序时

@Modas-Li
Copy link
Contributor Author

Modas-Li commented Mar 8, 2024

/data/HuixiangDou/huixiangdou/service/llm_server_hybrid.py(175)call_openai_api()
-> logger.debug('remote api sending: {}'.format(messages))
(Pdb) 2024-03-08 09:36:51.077 | ERROR | huixiangdou.service.llm_server_hybrid:call_openai_api:183 -

/data/HuixiangDou/huixiangdou/service/llm_server_hybrid.py(175)call_openai_api()
-> logger.debug('remote api sending: {}'.format(messages))
(Pdb) 2024-03-08 09:36:54.080 | ERROR | huixiangdou.service.llm_server_hybrid:call_openai_api:183 -
2024-03-08 09:36:57.084 | DEBUG | huixiangdou.service.llm_server_hybrid:generate_response:243 - Q:有主题的疑问句,结果用 0~10 表示。直接提供得分不要解释。
判断标准:有主语谓语宾语并且是疑问句得 10 分;缺少主谓宾扣分;陈述句直接得 0 分;不是疑问句直接得 0 分。直接提供得分不要解释 A: remote True timecost 6.0173139572143555
03/08/2024 09:36:57 - [INFO] -aiohttp.access->>> 127.0.0.1 [08/Mar/2024:09:36:51 +0800] "POST /inference HTTP/1.1" 200 170 "-" "python-requests/2.31.0"
2024-03-08 09:36:57.086 | ERROR | huixiangdou.service.worker:single_judge:110 - invalid literal for int() with base 10: ''
2024-03-08 09:36:57.086 | INFO | main:lark_send_only:79 - ErrorCode.NOT_A_QUESTION, 请问如何安装 mmpose ?, , []

@tpoisonooo
Copy link
Collaborator

#114 modification reverted, I will re-test it tomorrow.

@tpoisonooo
Copy link
Collaborator

#118 fixed.

@tpoisonooo
Copy link
Collaborator

cc @Modas-Li

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants