nilsherzig / LLocalSearch

LLocalSearch is a completely locally running search aggregator using LLM Agents. The user can ask a question and the system will use a chain of LLMs to find the answer. The user can see the progress of the agents and the final answer. No OpenAI or Google API keys are needed.
Apache License 2.0
5.67k stars 362 forks source link

Short circuit on repetitive answers #73

Open nilsherzig opened 7 months ago

nilsherzig commented 7 months ago

Is your feature request related to a problem? Please describe. Some models tend to produce repetitive answers if their context fills up or they simply aren't trained on doing function calls.

Describe the solution you'd like Stop the agent chain after n times the same answer.

Describe alternatives you've considered Forcing the use of tested models, but this seems to go against the spirit of open source / configure ability.