Describe the bug
When I generating dataset using ollama, I get the above message.
To Reproduce
Run the following code:
import plexe
MODEL_ID = "ollama/llama2:latest"
# Generate synthetic data
dataset = plexe.DatasetGenerator(
description="Example dataset with features and target",
provider=MODEL_ID,
schema={"features": str, "target": int}
)
dataset.generate(500) # Generate 500 samples
print("Generated dataset:", dataset)
Expected behavior
Got this error:
ValueError: Model ollama/llama2:latest does not support response schema