OpenBMB / OpenBMB/XAgent

疑问:parse_web_text 配置

Open
#399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
8.5k
Forks
905
PR merge metrics
No merged PRs in 30d

Description

Issue Description / 问题描述

Please provide a detailed description of the error or issue you encountered. / 请详细描述您遇到的错误或问题。

  • 疑问:parse_web_text.yml 中为什么要单独指定gpt-3.5-turbo-16k模型来着?如果我用其他模型但是没有配置gpt-3.5-turbo-16k的apikey,就会报错!!!

Steps to Reproduce / 复现步骤

Please provide the specific steps to reproduce the error. / 请提供复现错误的具体步骤。

  • 在config.yml中新增一个模型,如gpt-3.5-turbo, 不配置gpt-3.5-turbo-16k的apikey, 发起任务是指定model 为gpt-3.5-turbo,后续执行parse_web_text 任务时候就报apikey错误,因为parse_web_text.yml 默认指定了配置。

Expected Behavior / 预期行为

Describe the behavior you expected to see. / 请描述您期望的正确行为。

Environment / 环境信息

  • Operating System / 操作系统:
  • Python Version / Python 版本:
  • Other Relevant Information / 其他相关信息:

Error Screenshots or Logs / 错误截图或日志

If possible, please provide relevant screenshots or logs of the error. / 如果可能,请提供相关的错误截图或日志文件。

Additional Notes / 其他备注

If you have any additional information or notes, please add them here. / 如果有其他补充信息,请在此处添加。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing config.yml with parse_web_text.yml and reproduce the task using gpt-3.5-turbo without a gpt-3.5-turbo-16k API key. Trace how the selected model is carried into the parse_web_text task; done means using another configured model no longer requires credentials for the separately specified model.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, yaml
Domain
ai, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.