{"id":13560811,"url":"https://github.com/MeshackMusundi/AzureCognitiveSearch-RAG","last_synced_at":"2025-04-03T16:31:12.252Z","repository":{"id":174388791,"uuid":"652161420","full_name":"MeshackMusundi/AzureCognitiveSearch-RAG","owner":"MeshackMusundi","description":"Retrieval Augmented Generation (RAG) using Azure Cognitive Search","archived":false,"fork":false,"pushed_at":"2023-06-29T07:13:05.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-04T12:40:01.263Z","etag":null,"topics":["azure-cognitive-search","azure-openai","csharp","dotnet-core","retrieval-augmented-generation"],"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/MeshackMusundi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-11T09:32:26.000Z","updated_at":"2024-09-19T18:46:05.000Z","dependencies_parsed_at":"2023-07-04T05:02:10.919Z","dependency_job_id":null,"html_url":"https://github.com/MeshackMusundi/AzureCognitiveSearch-RAG","commit_stats":null,"previous_names":["meshackmusundi/azurecognitivesearch-rag"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeshackMusundi%2FAzureCognitiveSearch-RAG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeshackMusundi%2FAzureCognitiveSearch-RAG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeshackMusundi%2FAzureCognitiveSearch-RAG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeshackMusundi%2FAzureCognitiveSearch-RAG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MeshackMusundi","download_url":"https://codeload.github.com/MeshackMusundi/AzureCognitiveSearch-RAG/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247036969,"owners_count":20873062,"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":["azure-cognitive-search","azure-openai","csharp","dotnet-core","retrieval-augmented-generation"],"created_at":"2024-08-01T13:00:49.737Z","updated_at":"2025-04-03T16:31:11.982Z","avatar_url":"https://github.com/MeshackMusundi.png","language":"C#","funding_links":[],"categories":["Open Source Projects"],"sub_categories":[],"readme":"# Introduction\nThis is a simple C# demo highlighting how to have conversational interactions with private data in Azure using Azure Cognitive Search and Azure OpenAI.\n\nAzure Cognitive Search is used for Retrieval Augmented Generation.\n\n# Requirements\nYou should have the following resources set up on Azure,\n- **Azure Storage Container**: This will host your private documents (PDF, Word, Excel,...) that you want to use as the knowledge base. The storage account is added as a data source of your search service.\n- **Azure Cognitive Search Service**: The service should be set up in a standard tier which will ensure you can use Semantic Search. Add the storage container as a data source for the search service and set up the indexer, index, and Semantic Search configuration.\n- **Azure OpenAI**: Add a model deployment to your Azure OpenAI service, either GPT 3.5 Turbo or GPT 4.\n\n## User Secrets\nAdd user secrets to the console project as follows, with the neccessary values specified.\n```\n{\n  \"AzureOpenAISettings\": {\n    \"ServiceKey\": \"\u003cKey\u003e\",\n    \"ServiceName\": \"\u003cService-Name\u003e\",\n    \"DeploymentName\": \"\u003cModel-Deployment-Name\u003e\",\n    \"Endpoint\": \"https://\u003cService-Name\u003e.openai.azure.com\",\n    \"MaxCompletionTokens\": 500,\n    \"MaxModelTokens\": 8192,\n    \"Instructions\": \"Assistant is an intelligent chatbot...\"\n  },\n  \"AzureCognitiveSearchSettings\": {\n    \"ServiceKey\": \"\u003cKey\u003e\",\n    \"ServiceName\": \"\u003cService-Name\u003e\",\n    \"Index\": \"\u003cIndex-Name\u003e\",\n    \"SemanticConfig\": \"\u003cSemantic-Config-Name\u003e\",\n    \"ApiVersion\": \"\u003cAPI-Version\u003e\",\n    \"ApiURL\": \"https://\u003cService-Name\u003e.search.windows.net/indexes/\u003cIndex-Name\u003e/docs?api-version=\u003cAPI-Version\u003e\u0026search={0}\u0026queryLanguage=en-US\u0026queryType=semantic\u0026captions=extractive\u0026answers=extractive%7Ccount-3\u0026semanticConfiguration=\u003cSemantic-Config-Name\u003e\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMeshackMusundi%2FAzureCognitiveSearch-RAG","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMeshackMusundi%2FAzureCognitiveSearch-RAG","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMeshackMusundi%2FAzureCognitiveSearch-RAG/lists"}