|
|
|
|
|
by aaronvg
728 days ago
|
|
My bad, I think I didnt explain correctly. Basically you have two options when a "," is missing (amongst other issues) in an LLM output which causes a parsing issue: - retry the request, which may take 30+ secs (if your LLM outputs are really long and you're using something like gpt4) - fix the parsing issue In our library we do the latter. The conversion from BAML types to Pydantic ones is a compile-time step unrelated to the problem above. That doesn't happen at runtime. |
|