You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ai=cria.Cria()
prompt="Return a JSON array of car brands."response=ai.chat(prompt=prompt, stream=False, format="json")
Features like the above, where passing in format="json" ensures JSON output, are available from ollama, but not documented for Cria. Documentation can be found on ollama, but it would be useful to have that documentation natively.
This issue is meant for beginners, and if you are interested in either porting some more esoteric features from ollama over to Cria, or simply writing some documentation, you can help with this issue.
Important: If you want to work on this issue, please @ me and I will assign you. Once assigned, I can give you some more context depending on what you want to help with, and fill you in on some of Cria's more confusing source code.
The text was updated successfully, but these errors were encountered:
Cria has many features inherited from ollama.
Features like the above, where passing in
format="json"
ensures JSON output, are available from ollama, but not documented for Cria. Documentation can be found on ollama, but it would be useful to have that documentation natively.This issue is meant for beginners, and if you are interested in either porting some more esoteric features from ollama over to Cria, or simply writing some documentation, you can help with this issue.
Important: If you want to work on this issue, please @ me and I will assign you. Once assigned, I can give you some more context depending on what you want to help with, and fill you in on some of Cria's more confusing source code.
The text was updated successfully, but these errors were encountered: