{"id":23960570,"url":"https://github.com/coowise/ollamadataverseentitychatapp","last_synced_at":"2026-05-15T17:33:17.299Z","repository":{"id":269843035,"uuid":"907440440","full_name":"coowise/OllamaDataverseEntityChatApp","owner":"coowise","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-14T14:21:10.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T15:43:10.965Z","etag":null,"topics":["csharp","dataverse","milvus","ollama","powerplatform"],"latest_commit_sha":null,"homepage":"https://www.coowise.com/article#ollama-with-dataverse-overview","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coowise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-12-23T15:30:27.000Z","updated_at":"2025-01-14T14:21:14.000Z","dependencies_parsed_at":"2025-01-14T15:43:13.757Z","dependency_job_id":"1b717b0c-d747-4b5c-bbca-6160247f4dcf","html_url":"https://github.com/coowise/OllamaDataverseEntityChatApp","commit_stats":null,"previous_names":["coowise/ollamadataverseentitychatapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coowise%2FOllamaDataverseEntityChatApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coowise%2FOllamaDataverseEntityChatApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coowise%2FOllamaDataverseEntityChatApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coowise%2FOllamaDataverseEntityChatApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coowise","download_url":"https://codeload.github.com/coowise/OllamaDataverseEntityChatApp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240475228,"owners_count":19807292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["csharp","dataverse","milvus","ollama","powerplatform"],"created_at":"2025-01-06T19:30:06.278Z","updated_at":"2026-05-15T17:33:17.226Z","avatar_url":"https://github.com/coowise.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# OllamaDataverseEntityChatApp\n\nA command-line tool that connects to Microsoft Dataverse, retrieves data, and uses AI (Embedding and ChatCompletion) to allow you to chat with your Dataverse data using semantic search capabilities.\n\n## Features\n\n- 🔌 Seamless connection to Microsoft Dataverse\n- 📊 Dynamic entity metadata retrieval\n- 🤖 AI-powered semantic search and chat using Ollama\n- 🎯 Specialized analysis for different entity types (Flow Runs, Plugin Trace Logs, etc.)\n- 📈 Real-time progress visualization for embeddings generation\n- 🔍 Context-aware responses using vector similarity search\n\n## Prerequisites\n\n- .NET 8.0\n- Ollama installed and running\n- Access to a Microsoft Dataverse environment\n- Sufficient GPU, disk and system memory for running AI models\n\n## Configuration\n\nAdd the following settings to your `App.config` file:\n\n```xml\n\u003cconfiguration\u003e\n\u003cappSettings\u003e\n    \u003cadd key=\"DataverseConnectionString\" value=\"AuthType=ClientSecret;url=;ClientId=;ClientSecret=\" /\u003e\n    \u003cadd key=\"AIGenerationModel\" value=\"llama3\" /\u003e\n    \u003cadd key=\"AIEmbeddingModel\" value=\"nomic-embed-text\" /\u003e\n    \u003cadd key=\"OllamaHost\" value=\"Enter Ollama host IP address here\" /\u003e\n    \u003cadd key=\"OllamaPort\" value=\"Enter Ollama port number here\" /\u003e\n    \u003cadd key=\"MaxRecords\" value=\"10\" /\u003e\n    \u003cadd key=\"MultiThreadEmbedding\" value=\"true\" /\u003e\n    \u003cadd key=\"SimilarityMethod\" value=\"BM25\" /\u003e\n\u003c/appSettings\u003e\n\u003c/configuration\u003e\n```\n\n## Installation\n\n1. Clone the repository\n2. Restore NuGet packages\n3. Configure your `App.config` file\n4. Build and run the application\n\n## Usage\n\nBefore running the application, ensure Ollama is running:\n\n1. If you are using Ollama locally, start the Ollama server:\n\n ```bash\nollama serve\n```\n\n2. Run the application:\n\n ```bash\ndotnet run\n```\n\nThe application will:\n1. Connect to your Dataverse environment\n2. Retrieve entity metadata\n3. Query the specified entity\n4. Process the results\n5. Ask your Dataverse data\n\n## Error Handling\n\nThe application includes robust error handling for:\n- Connection issues\n- Insufficient resources for AI models\n- Invalid XML responses\n- General runtime errors\n\n## Dependencies\n\n- Microsoft.PowerPlatform.Dataverse.Client\n- Microsoft.Xrm.Sdk\n- System.Configuration.ConfigurationManager\n- Ollama (external dependency)\n- OllamaSharp\n\n## Contributing\n\nContributions are welcome! Feel free to fork the repository and submit a pull request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoowise%2Follamadataverseentitychatapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoowise%2Follamadataverseentitychatapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoowise%2Follamadataverseentitychatapp/lists"}