Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAG-agent max_consecutive_auto_reply doesn't work as expected #117

Closed
thinkall opened this issue Oct 5, 2023 · 0 comments · Fixed by #155
Closed

RAG-agent max_consecutive_auto_reply doesn't work as expected #117

thinkall opened this issue Oct 5, 2023 · 0 comments · Fixed by #155
Assignees

Comments

@thinkall
Copy link
Collaborator

thinkall commented Oct 5, 2023

I am using RAG-agent and it works pretty ok, but it gives me ~10 answers instead of just one or two, and it does not explicitly write anything like "I do not have enough information". It just spits out proper answers, only many times. I set the setting max_consecutive_auto_reply=1 but this does not change anything.

Find my code here: https://github.com/wiiiktor/resume/tree/main/data/autogen-bug There is a python file with a very small dataset. In the meantine, I updated tokenizers (PyCharm told me so) and error is different now, but still a similar tune: RuntimeError: Failed to import transformers.models.nystromformer because of the following error (look up to see its traceback):
maximum recursion depth exceeded while calling a Python object
name = "tokenizers"
version = "0.14.0" -> this is what I have now

-- origin

@thinkall thinkall self-assigned this Oct 5, 2023
jackgerrits pushed a commit that referenced this issue Oct 2, 2024
* add tool use example; refactor example directory

* update

* add more examples

* fix

* fix

* doc

* move

* add group chat example, create patterns folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant