-
Notifications
You must be signed in to change notification settings - Fork 72
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
运行main.py报错 #15
Comments
rag和mem里面的api_key也配上。 |
好的,谢谢了,我去试一试!
…---原始邮件---
发件人: "Theodore ***@***.***>
发送时间: 2025年1月20日(周一) 下午4:18
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [wwbin2017/bailing] 运行main.py报错 (Issue #15)
rag和mem里面的api_key也配上。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
你要是跑通了说一下,我现在卡在加载界面 |
2025-01-21 10:33:45,440 - sentence_transformers.SentenceTransformer - INFO - Load pretrained SentenceTransformer: models/bge-small-zh During handling of the above exception, another exception occurred: Traceback (most recent call last): 上一个问题解决了,但是出现了新的问题,rag出错了,我正在尝试修复 |
发生异常: AttributeError |
注释掉Rag初始化。 |
pygame 2.6.1 (SDL 2.28.4, Python 3.10.0)
Hello from the pygame community. https://www.pygame.org/contribute.html
funasr version: 1.1.6.
SileroVAD {'sampling_rate': 16000, 'threshold': 0.5, 'min_silence_duration_ms': 200}
(None,) {}
Traceback (most recent call last):
File "F:\myitem2\bailing\bailing\main.py", line 58, in
robot = robot.Robot(config_path)
File "F:\myitem2\bailing\bailing\bailing\robot.py", line 76, in init
self.memory = memory.Memory(config.get("Memory"))
File "F:\myitem2\bailing\bailing\bailing\memory.py", line 41, in init
self.client = openai.OpenAI(api_key=self.api_key, base_url=self.base_url)
File "D:\Anconda\envs\bailing\lib\site-packages\openai_client.py", line 110, in init
raise OpenAIError(
openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
The text was updated successfully, but these errors were encountered: