Giter VIP home page Giter VIP logo

llamaindexcourse's People

Contributors

jbergant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

llamaindexcourse's Issues

token management counter does not work

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

rate limit reached for default text embedding issue

@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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.