{"id":16683562,"url":"https://github.com/marcominerva/searchgpt","last_synced_at":"2025-10-26T16:05:03.093Z","repository":{"id":177628350,"uuid":"660678165","full_name":"marcominerva/SearchGPT","owner":"marcominerva","description":"A sample that shows how to integrate ChatGPT with your own data that comes from Azure Cognitive Search","archived":false,"fork":false,"pushed_at":"2023-12-19T10:46:55.000Z","size":4538,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T01:13:36.243Z","etag":null,"topics":["asp-net-core","azure","azure-cognitive-search","azure-opena","azure-openai","c-sharp","chatgpt","hacktoberfest","minimal-api","openai","openai-api","razor-pages","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/marcominerva.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}},"created_at":"2023-06-30T15:04:23.000Z","updated_at":"2024-09-14T23:20:02.000Z","dependencies_parsed_at":"2023-12-19T12:24:41.562Z","dependency_job_id":null,"html_url":"https://github.com/marcominerva/SearchGPT","commit_stats":null,"previous_names":["marcominerva/searchgpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcominerva%2FSearchGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcominerva%2FSearchGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcominerva%2FSearchGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcominerva%2FSearchGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcominerva","download_url":"https://codeload.github.com/marcominerva/SearchGPT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248127292,"owners_count":21052227,"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":["asp-net-core","azure","azure-cognitive-search","azure-opena","azure-openai","c-sharp","chatgpt","hacktoberfest","minimal-api","openai","openai-api","razor-pages","visual-studio"],"created_at":"2024-10-12T14:25:19.550Z","updated_at":"2025-10-26T16:05:03.032Z","avatar_url":"https://github.com/marcominerva.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SearchGPT\n\nA sample that shows how to integrate ChatGPT with your own data that comes from Azure Cognitive Search.\n\nYou need to set the required values in the [appsettings.json](https://github.com/marcominerva/SearchGPT/blob/master/src/SearchGpt/appsettings.json) file:\n\n    \"ChatGPT\": {\n        \"Provider\": \"OpenAI\",           // Optional. Allowed values: OpenAI (default) or Azure\n        \"ApiKey\": \"\",                   // Required\n        \"Organization\": \"\",             // Optional, used only by OpenAI\n        \"ResourceName\": \"\",             // Required when using Azure OpenAI Service\n        \"AuthenticationType\": \"ApiKey\", // Optional, used only by Azure OpenAI Service. Allowed values: ApiKey (default) or ActiveDirectory\n        \"DefaultModel\": \"my-model\"      // Required  \n    },\n    \"CognitiveSearchSettings\": {\n        \"ServiceName\": \"\",\n        \"ApiKey\": \"\",\n        \"IndexName\": \"\"\n    }\n\n\u003e **Note**\nThe search index must contain a field named `content` that is searchable and retrievable. If you want to use different fields, you need to change the code in the [ChatService.cs](https://github.com/marcominerva/SearchGPT/blob/master/src/SearchGpt.BusinessLayer/Services/ChatService.cs) class.\n\nFor more information about the structure of the project, refer to [ChatGptPlayground documentation](https://github.com/marcominerva/ChatGptPlayground).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcominerva%2Fsearchgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcominerva%2Fsearchgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcominerva%2Fsearchgpt/lists"}