Skip to content

ibrhmahmd/Ollama_API_Testing

Repository files navigation

Ollama API Testing with OllamaClient

This repository demonstrates how to interact with the Ollama APIs using the OllamaClient library in a .NET application. It includes features such as pulling models, listing available models, and sending chat messages to the models.

Features

  • Pull models: Retrieve models from the Ollama server.
  • List models: View all available models.
  • Chat interaction: Send chat messages to a specific model and receive responses.

Installation

To get started, install the OllamaClient package via NuGet Package Manager:

Install-Package OllamaClient

How to Use

  1. Clone the repository:

    git clone https://github.com/yourusername/Ollama-API-Teting.git
    cd Ollama-API-Teting
  2. Install dependencies: Use the NuGet Package Manager to install the required dependencies for the project, especially the OllamaClient package.

  3. Build and run: After installing dependencies, build the project using:

    dotnet build

    Then run the project:

    dotnet run

About

New Repo same old Bugs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages