I am trying to use Ollama to calculate embeddings cosine similarity with with C# . I am using OllamaSharp , and as per this snippet from their repo, it is possible to use the .EmbedAsync(embedContent) method to get the EmbedResponse and the embeddings then are available at .Embeddings . I get as far as to get the EmbedResponse objects but after that, I don't know how to proceed (I don't know how to use...
Originally asked by MartinPoncio on Stack Exchange (stackoverflow) (CC BY-SA 4.0).