Conversation
This function was giving me an error when using Pydantic objects with Mistral. Now is working properly.
|
Hey @LenenaIker, thanks for opening a PR ! Could you please provide us the code that gave you the error ? Your fix makes sense but it would be nice for us to be able to understand what happened ! |
|
Hello Amenasria, I can't send all the code, but I hope this helps. I do this because if the input is short or is in a language similar but not the same as the context, the AI usually fails, writing the response in the language of the context. For example it happens to me with Spanish, Italian and Portuguese. Have a nice day! |
|
Hey Iker, I was able to understand the issue thanks to your example, nice catch ! I went for a slightly different solution since the Thanks again for reporting, have a nice day ! |
|
Okay, great! Have a nice day! |
This function was giving me an error when using Pydantic objects with Mistral.
Now is working properly.