Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/marcominerva/searchdocumentwithai
- Owner: marcominerva
- License: mit
- Created: 2023-09-25T10:37:43.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-11T15:43:57.000Z (over 1 year ago)
- Last Synced: 2024-11-19T06:59:13.328Z (3 months ago)
- Topics: azure, azure-openai, azure-openai-api, c-sharp, chatgpt, openai, openai-api, visual-studio
- Language: C#
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Search Documents With AI
A sample that shows how to use ChatGPT to get answers about any PDF documentsYou 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
}