Metadata-Version: 2.3
Name: sucrose_ollama
Version: 0.1.1
Summary: Add your description here
Author-email: Paul English <paulnglsh@gmail.com>
License-File: LICENSE
Requires-Python: >=3.8
Requires-Dist: ollama>=0.3.1
Description-Content-Type: text/markdown

# Sucrose

Inspired by `fructose` https://github.com/bananaml/fructose, but uses the ollama python client. Supports `pydantic` models.

```
pip install sucrose_ollama
```

```python
from sucrose import Sucrose
ai = Sucrose()

@ai
def describe(animals: list[str]) -> str:
  """
  Given a list of animals, use one word that'd describe them all.
  """
  ...

description = describe(["dog", "cat", "parrot", "goldfish"])
print(description) # -> "pets" type: str
```
