Skip to content

Implemented a demo for Ollamasharp library#79

Merged
rorychatt merged 5 commits into
Ivy-Interactive:mainfrom
oleskash:main
Oct 1, 2025
Merged

Implemented a demo for Ollamasharp library#79
rorychatt merged 5 commits into
Ivy-Interactive:mainfrom
oleskash:main

Conversation

@oleskash

Copy link
Copy Markdown

The sample demonstrates how to:

Connect to a local Ollama API instance
List available models
Send chat messages and receive streaming responses
Handle connection errors and service availability
image
image

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a demo application for the OllamaSharp library, showcasing integration with local Large Language Models through Ollama. The demo provides a chat interface built on the Ivy framework for interacting with AI models.

  • Implements a chat interface for communicating with local Ollama models
  • Adds model selection and management functionality
  • Includes comprehensive documentation and setup instructions

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ollamasharp/README.md Comprehensive documentation covering installation, setup, and usage instructions
ollamasharp/Program.cs Main application entry point with server configuration
ollamasharp/OllamaSharpDemo.sln Visual Studio solution file
ollamasharp/OllamaSharpDemo.csproj Project configuration with dependencies
ollamasharp/GlobalUsings.cs Global using statements for the project
ollamasharp/Apps/OllamaSharp.cs Core application logic implementing chat interface and model management
ollamasharp/.gitignore Git ignore configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread ollamasharp/Apps/OllamaSharp.cs Outdated
Comment thread ollamasharp/Apps/OllamaSharp.cs

@rorychatt rorychatt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

project does not build

Image

@oleskash
oleskash requested a review from rorychatt September 25, 2025 14:19
@rorychatt

Copy link
Copy Markdown
Collaborator

@oleskash I will try this out today-latest-tomorrow, need to install ollama and stuff... (just so you know why it is taking some time for me to review)

@oleskash

Copy link
Copy Markdown
Author

@oleskash I will try this out today-latest-tomorrow, need to install ollama and stuff... (just so you know why it is taking some time for me to review)

No wories :)

@rorychatt

Copy link
Copy Markdown
Collaborator

Good job!

@rorychatt
rorychatt merged commit 1b6d8f5 into Ivy-Interactive:main Oct 1, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants