jbergant / llamaindexcourse Goto Github PK
View Code? Open in Web Editor NEWFiles for Udemy LlamaIndex course
Files for Udemy LlamaIndex course
when i use the following code : response = index.as_query_engine().query("How does sleep enhance learning memory?")
print('Embedding tokens: ', token_counter.total_embedding_token_count, '\n',
'LLM prompts: ', token_counter.prompt_llm_token_count, '\n',
'LLM completitions: ', token_counter.completion_llm_token_count, '\n',
'Total LLM token count: ', token_counter.total_llm_token_count, '\n',
)
print(response) , the tokens that are printed are zeros
@jbergant ,when i run the askAndrew code to load the sleep dataset, it raised the error as below:
INFO:openai:error_code=rate_limit_exceeded error_message='Rate limit reached for default-text-embedding-ada-002 in organization org-ijpZN55Zm7zwb9SKrdHXJPmP on requests per min. Limit: 3 / min. Please try again in 20s. Contact us through our help center at help.openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method.' error_param=None error_type=requests message='OpenAI API error received' stream_error=False
How did you resolve it? Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.