I'm having a devil of a time converting structured output from Ollama's new API to a df. The following is JSON output from the Data Extraction example on the Ollama page on structured outputs ( https://ollama.com/blog/structured-outputs ): pets=[ Pet(name='Luna', animal='cat', age=5, color='grey', favorite_toy='yarn'), Pet(name='Loki', animal='cat', age=2, color='black', favorite_toy='tennis balls') ] After trying several different python-based...
Originally asked by BBJonz on Stack Exchange (stackoverflow) (CC BY-SA 4.0).