Skip to content

Commit

Permalink
Update 6-chat-over-file.md
Browse files Browse the repository at this point in the history
fixed the bullet numbering
  • Loading branch information
oliverlabs authored Aug 10, 2023
1 parent f5f0984 commit 8482f5f
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions docs/6-chat-over-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,15 @@ AZURE_SEARCH_API_VERSION="2023-07-01-Preview"

4. After the Form Recognizer (Document Intelligence) resource has been created, proceed to modify the `env.local` file with appropriate environment variables. You can find values for these variables in your _Form Recognizer_ resource (Resource Management blade > Keys and Endpoint). Please make sure that you don't copy the endpoint from there, but only replace the region in the example below. For example, if your Form Recognizer resource is located in East US Azure region, your `AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT` variable would be `https://eastus.api.cognitive.microsoft.com/`.

Please note that the file is only preserved for each chat thread:

```
# Azure AI Document Intelligence to extract content from your data
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT="https://REGION.api.cognitive.microsoft.com/"
AZURE_DOCUMENT_INTELLIGENCE_KEY=
```

4. At this point, you should be able to start new chat sessions with the `File` option.
5. Once the `File` chat option is selected, click the `Choose File` button to select your document and then click the `Upload` button to upload your file. Please note that the Form Recognizer service supports PDF (text or scanned), JPG and PNG input documents.
6. Once you receive a notification about a successful file upload, you should be able to start chatting with chatting with a chatbot.
Please note that the file is only preserved for each chat thread:
```
# Azure AI Document Intelligence to extract content from your data
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT="https://REGION.api.cognitive.microsoft.com/"
AZURE_DOCUMENT_INTELLIGENCE_KEY=
```
6. At this point, you should be able to start new chat sessions with the `File` option.
7. Once the `File` chat option is selected, click the `Choose File` button to select your document and then click the `Upload` button to upload your file. Please note that the Form Recognizer service supports PDF (text or scanned), JPG and PNG input documents.
8. Once you receive a notification about a successful file upload, you should be able to start chatting with chatting with a chatbot.
### Things to consider:
Expand Down

0 comments on commit 8482f5f

Please sign in to comment.