Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcominerva/searchdocumentwithai

A sample that shows how to use ChatGPT to get answers about any PDF documents
https://github.com/marcominerva/searchdocumentwithai

azure azure-openai azure-openai-api c-sharp chatgpt openai openai-api visual-studio

Last synced: 23 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://github.com/marcominerva/SearchDocumentWithAI/blob/master/src/SearchGpt/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
}