Find answers from the community

Updated 3 months ago

Hello, i'm using "npx create-llama" to

Hello, i'm using "npx create-llama" to create a chatbot that will base its answers on my text files that i will provide as a data source. but i keep getting the error : "Sorry! We've encountered an issue with repetitive patterns in your prompt. Please try again with a different prompt." with every prompt i use, even hello. is there anyone who has an idea what might be the probem?
L
w
6 comments
Related to the data you indexed I'm guessing
it actually works just fine when only using one or two files. But once i use multiple it stops working
I'm thinking it's something about a particular files contents triggering openais detection
I highly doubt it since the files are different and they r simple text files. it's rather random since the error was thrown first when i used around 1000 files. then when using only one or two it worked fine. Then i started injecting files little by little into the data folder. and that's where it started throwing the error on a random number of files each test. (the first time i could inject 800 then 900.)
it says that the repetitive pattern is in the prompt which is not the case at all
the prompt includes context from your files. Not sure what else to say lol if you are using the flask backend, there is some code to use to debug llm inputs/outputs.
Add a reply
Sign up and join the conversation on Discord