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

[Question]: Get an answer from first knowledge base,Use another question to ask second knowledge will get the same answer.:{ content: { 0: "sequence item 8: expected str instance, dict found" } } #2921

Open
smileyee opened this issue Oct 21, 2024 · 4 comments
Labels
question Further information is requested

Comments

@smileyee
Copy link

Describe your problem

{ content: { 0: "sequence item 8: expected str instance, dict found" } }
664f89069f7bad4e0f81fca79b5be96
模型的api没有问题,是我的工作流配置有问题吗

@smileyee smileyee added the question Further information is requested label Oct 21, 2024
@JinHai-CN JinHai-CN changed the title [Question]: 先根据问题的分类获取其中一个知识库的回答,再使用不同类型的问题查另一个知识库会出现:{ content: { 0: "sequence item 8: expected str instance, dict found" } } [Question]: Get an answer from first knowledge base,Use another question to ask second knowledge will get the same answer.:{ content: { 0: "sequence item 8: expected str instance, dict found" } } Oct 21, 2024
@KevinHuSh
Copy link
Collaborator

Did you deployed yourself, or on demo site?
If it is local deployed, what about pulling the dev version of docker image again?
We fixed something about the components.

@smileyee
Copy link
Author

Did you deployed yourself, or on demo site? If it is local deployed, what about pulling the dev version of docker image again? We fixed something about the components.
image

I deployed it myself, using version 0.12. Now that the dev version is updated, the following error occurs:ERROR: expected string or bytes-like object. At the same time, is there no preview of the chat module of the following dev version? Can the original api still be used?

@KevinHuSh
Copy link
Collaborator

Yes, it can.
Hover to the components to check which one exported this error.
And have a look at the docker logs to see if you can find anything.

@smileyee
Copy link
Author

Relevant text was retrieved in knowledge retrieval, problems appeared in the component that generated answers:{
content: {
0: "sequence item 8: expected str instance, dict found"
}
}

and docker had no obvious abnormal information

KevinHuSh added a commit that referenced this issue Oct 23, 2024
### What problem does this PR solve?

#2921

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants