GitHunt
MA

marcominerva/SearchDocumentWithAI

A sample that shows how to use ChatGPT to get answers about any PDF documents

Search Documents With AI

A sample that shows how to use ChatGPT to get answers about any PDF documents

You need to set the required values in the appsettings.json file:

"ChatGPT": {
    "Provider": "OpenAI",           // Optional. Allowed values: OpenAI (default) or Azure
    "ApiKey": "",                   // Required
    "Organization": "",             // Optional, used only by OpenAI
    "ResourceName": "",             // Required when using Azure OpenAI Service
    "AuthenticationType": "ApiKey", // Optional, used only by Azure OpenAI Service. Allowed values : ApiKey (default) or ActiveDirectory
    "DefaultModel": "my-model"      // Required  
}

Languages

C#100.0%

Contributors

MIT License
Created September 25, 2023
Updated November 14, 2023
marcominerva/SearchDocumentWithAI | GitHunt