{"id":25183217,"url":"https://github.com/vensas/ollama-phi-3-slm-csharp","last_synced_at":"2026-04-13T12:01:38.351Z","repository":{"id":242774157,"uuid":"810528750","full_name":"vensas/ollama-phi-3-slm-csharp","owner":"vensas","description":"This repository contains a simple chatbot application built with .NET and SemanticKernel's chat completion service. The app allows for continuous chat interaction, where users can input questions and receive responses from the AI model.","archived":false,"fork":false,"pushed_at":"2025-10-08T06:42:36.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-25T02:43:58.895Z","etag":null,"topics":["ai","chatbot","dotnet","ollama"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vensas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-04T21:50:56.000Z","updated_at":"2025-10-08T06:42:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c35e309-3f9a-4933-aa85-88c73a954954","html_url":"https://github.com/vensas/ollama-phi-3-slm-csharp","commit_stats":null,"previous_names":["vensas/ollama-phi-3-slm-csharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vensas/ollama-phi-3-slm-csharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vensas%2Follama-phi-3-slm-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vensas%2Follama-phi-3-slm-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vensas%2Follama-phi-3-slm-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vensas%2Follama-phi-3-slm-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vensas","download_url":"https://codeload.github.com/vensas/ollama-phi-3-slm-csharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vensas%2Follama-phi-3-slm-csharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","chatbot","dotnet","ollama"],"created_at":"2025-02-09T18:19:34.564Z","updated_at":"2026-04-13T12:01:38.336Z","avatar_url":"https://github.com/vensas.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatBot-Anwendung mit Ollama OpenAI und .NET\n\n## Überblick\n\nDieses Repository enthält eine einfache ChatBot-Anwendung, die mit .NET und dem Chat-Completion-Service von SemanticKernel erstellt wurde. Die Anwendung ermöglicht eine kontinuierliche Chat-Interaktion, bei der der Benutzer Fragen eingeben und Antworten vom KI-Modell erhalten kann.\n\n## Funktionen\n\n- **Integration des SemanticKernel Chat-Completion-Services**: Die Anwendung nutzt den Chat-Completion-Service von SemanticKernel, um Antworten auf Benutzereingaben zu generieren.\n- **Lokaler API-Endpunkt**: Konfiguriert für die Arbeit mit einer lokalen Instanz der Ollama OpenAI API.\n- **Interaktive Konsolenanwendung**: Der Chat läuft in einer Konsole und ermöglicht eine Echtzeit-Interaktion mit der KI.\n\n## Voraussetzungen\n\n- .NET SDK\n- Lokale Instanz von Ollama, die unter `http://localhost:11434` läuft\n\n## Einrichtung\n\n1. **Repository klonen**:\n\n   ```bash\n   git clone https://github.com/vensas/ollama-phi-3-slm-csharp.git\n   cd ollama-phi-3-slm-csharp\n   ```\n\n2. **Konfiguration des Ollama OpenAI Services**:\n   Stellen Sie sicher, dass eine lokale Instanz des Ollama OpenAI Services läuft. Die Anwendung ist so konfiguriert, dass sie sich mit `http://localhost:11434` verbindet.\n\n3. **Anwendung bauen und starten**:\n   ```bash\n   dotnet run\n   ```\n\n## Funktionsweise\n\n- Die Anwendung startet, indem ein Host-Application-Builder erstellt wird.\n- Der SemanticKernel Chat-Completion-Service wird mit einer angegebenen Modell-ID und einem Endpunkt registriert.\n- Eine neue Chatsitzung wird initiiert, bei der der Benutzer aufgefordert wird, eine Frage einzugeben.\n- Die Benutzereingabe wird an den OpenAI-Service gesendet, und die Antwort wird in die Konsole zurückgestreamt.\n- Das Gespräch wird fortgesetzt, bis der Benutzer entscheidet, es durch Eingabe eines leeren Eingabefeldes zu beenden.\n\n## Fazit\n\nDiese ChatBot-Anwendung dient als einfache Vorlage zur Integration der Chat-Completion-Fähigkeiten von SemanticKernel in eine .NET-Konsolenanwendung. Sie kann, ja nach Bedarf, weiter ausgebaut werden.\n\n## Blog-Artikel\n\nDu kannst mehr darüber in unserem Blog-Artikel lesen: [Generative KI-Anwendungen mit Phi-3 SML, C# Semantic Kernel und Ollama entwickeln](https://vensas.de/de/blog/ollama-phi-3-slm-csharp).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvensas%2Follama-phi-3-slm-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvensas%2Follama-phi-3-slm-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvensas%2Follama-phi-3-slm-csharp/lists"}