Comments (4)
I've actually built Chunked Prompts to overcome context size limits.
I found that I more often needed large amounts of text processed, rather than specific lookup of chunks of text. E.g. a vector store wouldn't solve the issue of summarizing an entire book, only the problem of answering a question based on the text in a book.
And since many vector stores can be used through simple HTTP APIs, it would be trivial to create a user script to send one's data to it, and then make a lookup every time one wanted to prompt the LLM using some text from the store.
from quickadd.
Hey @Triquetra - HTTP 429 Too Many Requests response status code indicates that there has been sent too many requests in a given amount of time.
In other words, it seems you reached the rate limit. I was able to fire a good few requests with e.g. 21k, 9k, and 12k tokens, and they all succeeded. But after a bit, I too got rate-limited and got the 429 error.
from quickadd.
OpenAI has set a rate limit of 40k tokens per minute, so even though the model supports much more than that, it isn't really feasible to send more than 40k tokens in a single prompt.
https://platform.openai.com/account/limits
This is for my usage tier (3), at least. You can check whether this is the same for you.
from quickadd.
Have you considered implementing vector store embeddings and completions to overcome these context limits?
from quickadd.
Related Issues (20)
- [BUG]
- [FEATURE REQUEST] how to get command id HOT 3
- [FEATURE REQUEST] Workspace commands in macros
- [BUG] Assistant Status 429 HOT 4
- [FEATURE REQUEST] Select location when using Capture to create a file
- [BUG] Unable to complete the MacroChoice tutorial
- [BUG] Issue running script. Movie database
- [BUG] {{FIELD:tags}} doesn't suggest some tags
- [BUG] js quickadd String `replace`, `test` function and other manipulations assumes literal `{{VALUE}}`, not selection HOT 2
- [FEATURE REQUEST] Tag Completion in Capture Entry Dialog
- [BUG] Model 'undefined' not found in any provider HOT 2
- [FEATURE REQUEST] Remove text after capturing
- Capture input box takes up too much space [BUG]
- [BUG] "Insert at end of section" option in Capture event is disregarded.
- [FEATURE REQUEST]
- [FEATURE REQUEST] Provide way to capture value and trim leading and trailing whitespace
- [FEATURE REQUEST] multiple suggestions with {{FIELD: ..}}
- [FEATURE REQUEST] Default values with {{FIELD: ...}}
- !help! / Bug? / Feature request? - Documentation question about `TemplateChoice`
- [BUG] Obsidian freezes on "User Scripts" field click
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickadd.