Skip to content

Commit 9863e67

Browse files
committed
Update docs
1 parent 11c4d9f commit 9863e67

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ However, you can try the [Azure pricing calculator](https://azure.com/e/a87a169b
7171
- Azure AI Document Intelligence: SO (Standard) tier using pre-built layout. Pricing per document page, sample documents have 261 pages total. [Pricing](https://azure.microsoft.com/pricing/details/form-recognizer/)
7272
- Azure AI Search: Basic tier, 1 replica, free level of semantic search. Pricing per hour. [Pricing](https://azure.microsoft.com/pricing/details/search/)
7373
- Azure Blob Storage: Standard tier with ZRS (Zone-redundant storage). Pricing per storage and read operations. [Pricing](https://azure.microsoft.com/pricing/details/storage/blobs/)
74+
- Azure Cosmos DB: Serverless tier. Pricing per request unit and storage. [Pricing](https://azure.microsoft.com/pricing/details/cosmos-db/)
7475
- Azure Monitor: Pay-as-you-go tier. Costs based on data ingested. [Pricing](https://azure.microsoft.com/pricing/details/monitor/)
7576

7677
To reduce costs, you can switch to free SKUs for various services, but those SKUs have limitations.

docs/deploy_features.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ You should typically enable these features before running `azd up`. Once you've
88
* [Using text-embedding-3 models](#using-text-embedding-3-models)
99
* [Enabling GPT-4 Turbo with Vision](#enabling-gpt-4-turbo-with-vision)
1010
* [Enabling chat history](#enabling-chat-history)
11+
* [Enabling persistent chat history with Azure Cosmos DB](#enabling-persistent-chat-history-with-azure-cosmos-db)
1112
* [Enabling language picker](#enabling-language-picker)
1213
* [Enabling speech input/output](#enabling-speech-inputoutput)
1314
* [Enabling Integrated Vectorization](#enabling-integrated-vectorization)
@@ -158,7 +159,15 @@ This feature allows users to view the chat history of their conversation, stored
158159
azd env set USE_CHAT_HISTORY_BROWSER true
159160
```
160161

161-
In the future, we plan to add support for optionally storing chat history in a server-side storage such as Cosmos DB.
162+
## Enabling persistent chat history with Azure Cosmos DB
163+
164+
This feature allows authenticated users to view the chat history of their conversations, stored in the server-side storage using [Azure Cosmos DB](https://learn.microsoft.com/azure/cosmos-db/).This option requires that authentication be enabled. The chat history will be persistent and accessible from any device where the user logs in with the same account. To enable server-stored chat history, run:
165+
166+
```shell
167+
azd env set USE_CHAT_HISTORY_COSMOS true
168+
```
169+
170+
When both the browser-stored and Cosmos DB options are enabled, Cosmos DB will take precedence over browser-stored chat history.
162171

163172
## Enabling language picker
164173

docs/deploy_lowcost.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ However, if your goal is to minimize costs while prototyping your application, f
7171
azd env set USE_LOCAL_HTML_PARSER true
7272
```
7373
74+
1. Use the free tier of Azure Cosmos DB:
75+
76+
```shell
77+
azd env set AZURE_COSMOSDB_SKU free
78+
```
79+
80+
Limitation: You can have only one free Cosmos DB account. To keep your account free of charge, ensure that you do not exceed the free tier limits. For more information, see the [Azure Cosmos DB lifetime free tier](https://learn.microsoft.com/azure/cosmos-db/free-tier).
81+
7482
1. Turn off Azure Monitor (Application Insights):
7583
7684
```shell

docs/other_samples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Feature comparison:
3131
| RAG approach | Multiple approaches | Only via ChatCompletion API data_sources |
3232
| Vector support | ✅ Yes | ✅ Yes |
3333
| Data ingestion | ✅ Yes ([Many formats](data_ingestion.md#supported-document-formats)) | ✅ Yes ([Many formats](https://learn.microsoft.com/azure/ai-services/openai/concepts/use-your-data?tabs=ai-search#data-formats-and-file-types)) |
34-
| Persistent chat history | ❌ No (browser tab only) | ✅ Yes, in CosmosDB |
34+
| Persistent chat history | ✅ Yes | ✅ Yes |
3535
| User feedback | ❌ No | ✅ Yes |
3636
| GPT-4-vision | ✅ Yes | ❌ No |
3737
| Auth + ACL | ✅ Yes | ✅ Yes |

0 commit comments

Comments
 (0)