Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 4 months ago
0
Follow
am I doing something wrong or there is a
am I doing something wrong or there is a
Inactive
0
Follow
At a glance
s
sagar
last year
Β·
am I doing something wrong, or there is a way to throttle the requests to openAI
E
s
L
10 comments
Share
Open in Discord
E
Emanuel Ferreira
last year
can you share some snippet o f your code?
s
sagar
last year
from llama_index import VectorStoreIndex, SimpleDirectoryReader
documents = SimpleDirectoryReader('data').load_data()
index = VectorStoreIndex.from_documents(documents)
L
Logan M
last year
Do you have a paid openai account, or just the free trial?
The trial is severly rate limited -- it's almost unusable
s
sagar
last year
free trial
s
sagar
last year
but I can pass the same amount of text to chatGPT as prompt
s
sagar
last year
and it works
L
Logan M
last year
Right -- but llama-index is making more than one call in quick succession
L
Logan M
last year
hence the rate limit errors (likely with embeddings I'm guessing)
s
sagar
last year
Thanks, apparently my credits had expired. added some $ and it is working now.
L
Logan M
last year
nice!
Add a reply
Sign up and join the conversation on Discord
Join on Discord