What is Nostr?
melvincarvalho / Melvin Carvalho
npub1mel…5c24
2024-12-07 02:53:12

melvincarvalho on Nostr: Ollama now supports structured outputs making it possible to constrain a model’s ...

Ollama now supports structured outputs making it possible to constrain a model’s output to a specific format defined by a JSON schema. The Ollama Python and JavaScript libraries have been updated to support structured outputs.

Use cases for structured outputs include:

- Parsing data from documents
- Extracting data from images
- Structuring all language model responses
- More reliability and consistency than JSON mode

https://ollama.com/blog/structured-outputs
Author Public Key
npub1melv683fw6n2mvhl5h6dhqd8mqfv3wmxnz4qph83ua4dk4006ezsrt5c24