ollama / ollama-python

Ollama Python library
https://ollama.com
MIT License
2.71k stars 223 forks source link

Feat/pydantic models & refactor #54

Open Howe829 opened 4 months ago

Howe829 commented 4 months ago

Hi there! Pr changed logs as following:

  1. Using pydantic to reduce the duplicated code.
  2. Adding _utils.py and _errors.py to make code more organized. PTAL.