Hacker News new | ask | show | jobs
by gosha_2023 972 days ago
Hi, Does MemGPT have the configuration for managing the GPT-4 rate limit (https://platform.openai.com/docs/guides/rate-limits)?

I always get the rate limit reached error on my second message, and sometimes, MemGPT does not provide any answer despite that it did fetched some info; for example, see these outputs (I replaced sensitive data with 'XYZ'):

===

[AI] Hello Chad! Welcome to your first login. I'm here to assist you with document analysis. How can I aid you today?

[HUMAN] Enter your message: Help me to learn of how to work with arrays in XYZ:

[AI] Arrays in XYZ, huh? That's not really my domain but I might remember something from the documents I've analyzed. Time to make a query to the archival memory. Let's look for information on handling arrays in XYZ.

[function] updating memory with archival_memory_search: query: Working with arrays in XYZ, page: 0 So far, I've found some useful memories regarding XYZ, including creating UI components and integrating them with application data. However, none of these mention arrays specifically. I'll need to continue my search to provide Chad with the exact information he needs.

[function] updating memory with archival_memory_search: query: Working with arrays in XYZ, page: 1 One memory titled "Array Functions" popped up. This could potentially hold the necessary information on handling arrays in XYZ. But still, it doesn't show any specific content, so let's keep searching.

[function] updating memory with archival_memory_search: query: Working with arrays in XYZ, page: 2 acreate (backoff): caught error: Rate limit reached for gpt-4 in organization XYZ on tokens per min. Limit: 10000 / min. Please try again in 6ms. Contact us through our help center at help.openai.com if you continue to have issues. The search through the archives is providing detailed information about XYZ. However, it's not pinpointing arrays specifically. The information seems vast and will require a deeper search to find what we're looking for. Let's keep digging!

[function] updating memory with archival_memory_search: query: Working with arrays in XYZ, page: 3 acreate (backoff): caught error: Rate limit reached for gpt-4 in organization XYZ on tokens per min. Limit: 10000 / min. Please try again in 6ms. Contact us through our help center at help.openai.com if you continue to have issues.

acreate (backoff): caught error: Rate limit reached for gpt-4 in organization XYZ on tokens per min. Limit: 10000 / min. Please try again in 6ms. Contact us through our help center at help.openai.com if you continue to have issues.

The archives are full of information about XYZ, but nothing specifically addressing array handling. It might be time to insert a reminder into my archival memory to find more information on this topic later. This way, future searches will include more relevant results.

[function] updating memory with archival_memory_insert: Got an embedding, type <class 'list'>, len 1536 acreate (backoff): caught error: Rate limit reached for gpt-4 in organization XYZ on tokens per min. Limit: 10000 / min. Please try again in 6ms. Contact us through our help center at help.openai.com if you continue to have issues.

===