Closed velteyn closed 1 month ago
I tried to continue
but after this the program stops again
Thank you for trying the project!
The exception is because the model did not follow the schema. I have found that models below 70b parameters have trouble following the schema.
When running locally I am using mixtral:instruct with ollama. It is not as good as OpenAI, but it will follow the schema most of the time.
If you would like, you can try a function tuned model, though I have not tried this yet.
I will try to catch this exception and pass it to the model so it can retry, I have found this works sometimes.
If this fails I will try to catch the exception and display a less scary message. Often just retrying can work (depending on temperature value) and a message should tell the user to try again.
I have been thinking about a dual model setup to allow for smaller models. One for the reasoning chain and one for the function calling.
Hello I started the project but after a simple question the program fails. Probably I'm giving the wrong question .. Dunno. Is my project setup wrong ? Thank you