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

chatbot.ask 里的 conversation_id 有问题 #28

Closed
tars-sh opened this issue Feb 27, 2023 · 4 comments
Closed

chatbot.ask 里的 conversation_id 有问题 #28

tars-sh opened this issue Feb 27, 2023 · 4 comments

Comments

@tars-sh
Copy link

tars-sh commented Feb 27, 2023

        if self.conversation_id:
            data = list(self.chatbot.ask(query))[-1]
        else:
            data = list(self.chatbot.ask(query, conversation_id=self.conversation_id))[
                -1
            ]

这段代码好像有点问题,当conversation_id 非空时,未传入该值作为参数。是因为该chatbot不支持吗?

@yihong0618
Copy link
Owner

@tars-sh 好像哪次改错了,我 fix 了,你试试

@yihong0618 yihong0618 reopened this Feb 27, 2023
@tars-sh
Copy link
Author

tars-sh commented Feb 27, 2023

本地有另一个问题,我手动fix后,发现 self.chatbot.ask(query, conversation_id=self.conversation_id) 一直都没有返回结果,卡死状态,不知道为什么

@yihong0618
Copy link
Owner

我晚上看看,现在有其他事情

@yihong0618
Copy link
Owner

@tars-sh 查了下目前上游不支持单独 conversation_id 了

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