Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
What's the difference between `astream_
What's the difference between `astream_
Inactive
0
Follow
w
weoeoijfwas
12 months ago
Β·
What's the difference between
astream_chat
and
stream_chat
on a
query_engine
?
T
w
L
9 comments
Share
Open in Discord
T
Teemu
11 months ago
Astream is the asynchronous version, for reference you can find them here:
https://docs.llamaindex.ai/en/latest/api_reference/query/chat_engines.html#
w
weoeoijfwas
11 months ago
ah mb, I meant to ask about
astream-chat
and
achat
w
weoeoijfwas
11 months ago
I notice the
achat
returns a union of the streaming and non-streaming
w
weoeoijfwas
11 months ago
when would the streaming version be returned in the
achat
context?
L
Logan M
11 months ago
where did you see that?
w
weoeoijfwas
11 months ago
Attachment
L
Logan M
11 months ago
weird, that might be a bug
L
Logan M
11 months ago
I can't think of why it's typed like that
L
Logan M
11 months ago
every actual implementation of
achat
using that base class is typed to return
AgentChatResponse
(I just checked lol) --- so yea, just a bug/dead typing on the base class
Add a reply
Sign up and join the conversation on Discord
Join on Discord