thmsmlr / instructor_ex

Structured outputs for LLMs in Elixir
https://hexdocs.pm/instructor
430 stars 48 forks source link

ReduceJSONFormattingErrorsProbabilityAndFixPassingInAdapter #43

Open noozo opened 2 months ago

noozo commented 2 months ago

Reducing probability of getting JSON decode errors, and fixing problem with passing in adapter with each call