tryAGI / Ollama

Ollama SDK for .NET
https://tryagi.github.io/Ollama/
MIT License
67 stars 5 forks source link

File upload #69

Open amellini opened 1 week ago

amellini commented 1 week ago

There's a way to upload a document (in this case an Image) and add a request (Open webui allow this) i'd like to use this library to make an Image recognition. It is possible?

HavenDV commented 1 week ago

Yes, use imagesAsBase64 parameter in the Chat.SendAsync or Message.Images property(and pass base64 to it)

amellini commented 1 week ago

There's a sample where I can start from?