ollama-structured-output-test

A Node.js application that demonstrates how to get structured JSON responses from Ollama using Zod schemas.

The example queries Ollama about Disney World and returns a structured response containing name, city, attractions, rides, and fun facts. Uses the ollama client along with zod and zod-to-json-schema to describe the expected shape. Configured via OLLAMA_HOST and OLLAMA_MODEL environment variables.