Find answers from the community

s
F
Y
a
P
Updated last month

Hi jerryjliu98 9313 use aync is

Hi , use_aync is supported only in GPTSimpleVectorIndex or all other indexes as well?
r
j
8 comments
I get this error frequently when I am trying to build GPTSimpleVectorIndex with use_async parameter "RuntimeError: asyncio.run() cannot be called from a running event loop"
@ravitheja is this in a nb?
(if you're in a jupyter notebook)
ohh okay. Got it. Also, it works only for GPTSimpleVectorIndex as of now?
getting this error
Attachment
image.png
this is for building the index? yeah simple vector, keyword table, and tree (there's less of a point in async list index since it's the fastest by default, but we could also add!)
Add a reply
Sign up and join the conversation on Discord