diff --git a/README.md b/README.md index 98403dec..a0d22eaf 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ You may try the [Azure pricing calculator](https://azure.com/e/8ffbe5b1919c4c72a - Azure Static Web Apps: Free Tier. [Pricing](https://azure.microsoft.com/pricing/details/app-service/static/) - Azure OpenAI: Standard tier, ChatGPT and Ada models. Pricing per 1K tokens used, and at least 1K tokens are used per question. [Pricing](https://azure.microsoft.com/pricing/details/search/) -- Azure AI Search: Standard tier, 1 replica, free level of semantic search*. Pricing per hour.[Pricing](https://azure.microsoft.com/pricing/details/search/) (_The pricing may vary or reflect an outdated tier model. Please visit the linked page for more accurate information_) +- Azure AI Search: Standard tier, 1 replica, free level of semantic search\*. Pricing per hour.[Pricing](https://azure.microsoft.com/pricing/details/search/) (_The pricing may vary or reflect an outdated tier model. Please visit the linked page for more accurate information_) - 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/) - Azure Monitor: Pay-as-you-go tier. Costs based on data ingested. [Pricing](https://azure.microsoft.com/pricing/details/monitor/) @@ -319,7 +319,7 @@ For more details, read [Azure OpenAI Landing Zone reference architecture](https: ## Resources - [Revolutionize your Enterprise Data with ChatGPT: Next-gen Apps w/ Azure OpenAI and AI Search](https://aka.ms/entgptsearchblog) -- [Azure Cognitive Search](https://learn.microsoft.com/azure/search/search-what-is-azure-search) +- [Azure AI Search](https://learn.microsoft.com/azure/search/search-what-is-azure-search) - [Azure OpenAI Service](https://learn.microsoft.com/azure/cognitive-services/openai/overview) - [Building ChatGPT-Like Experiences with Azure: A Guide to Retrieval Augmented Generation for JavaScript applications](https://devblogs.microsoft.com/azure-sdk/building-chatgpt-like-experiences-with-azure-a-guide-to-retrieval-augmented-generation-for-javascript-applications/) diff --git a/package.json b/package.json index 0db94dc3..b45a31fd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "azure-search-openai-javascript", "version": "1.0.0", - "description": "ChatGPT + Enterprise data with Azure OpenAI and Cognitive Search", + "description": "ChatGPT + Enterprise data with Azure OpenAI and AI Search", "private": true, "directories": { "doc": "docs" diff --git a/packages/indexer/.env.example b/packages/indexer/.env.example index da8a0bfb..441ba48a 100644 --- a/packages/indexer/.env.example +++ b/packages/indexer/.env.example @@ -5,7 +5,7 @@ AZURE_OPENAI_EMBEDDING_DEPLOYMENT= AZURE_OPENAI_EMBEDDING_MODEL= AZURE_OPENAI_SERVICE= -# Azure Cognitive Search +# Azure AI Search AZURE_SEARCH_INDEX= AZURE_SEARCH_SERVICE= diff --git a/packages/indexer/src/plugins/azure.ts b/packages/indexer/src/plugins/azure.ts index 16b1c3f8..67621785 100644 --- a/packages/indexer/src/plugins/azure.ts +++ b/packages/indexer/src/plugins/azure.ts @@ -13,7 +13,7 @@ export default fp( async (fastify, _options) => { const config = fastify.config; - // Use the current user identity to authenticate with Azure OpenAI, Cognitive Search and Blob Storage + // Use the current user identity to authenticate with Azure OpenAI, AI Search and Blob Storage // (no secrets needed, just use 'az login' locally, and managed identity when deployed on Azure). // If you need to use keys, use separate AzureKeyCredential instances with the keys for each service const credential = new DefaultAzureCredential(); diff --git a/packages/search/.env.example b/packages/search/.env.example index da8a0bfb..441ba48a 100644 --- a/packages/search/.env.example +++ b/packages/search/.env.example @@ -5,7 +5,7 @@ AZURE_OPENAI_EMBEDDING_DEPLOYMENT= AZURE_OPENAI_EMBEDDING_MODEL= AZURE_OPENAI_SERVICE= -# Azure Cognitive Search +# Azure AI Search AZURE_SEARCH_INDEX= AZURE_SEARCH_SERVICE= diff --git a/packages/search/src/lib/approaches/ask-retrieve-then-read.ts b/packages/search/src/lib/approaches/ask-retrieve-then-read.ts index 63571c5b..439d76dc 100644 --- a/packages/search/src/lib/approaches/ask-retrieve-then-read.ts +++ b/packages/search/src/lib/approaches/ask-retrieve-then-read.ts @@ -30,7 +30,7 @@ info3.pdf: Once you've provided the necessary information, submit the report. Ou const ANSWER = `If a guest breaks something, report the damage immediately through the platform [info1.txt]. Once you've provided the necessary information, submit the report. Our financial support team will investigate the matter and work to resolve it promptly [info3.pdf].`; /** - * Simple retrieve-then-read implementation, using the Cognitive Search and OpenAI APIs directly. + * Simple retrieve-then-read implementation, using the AI Search and OpenAI APIs directly. * It first retrieves top documents from search, then constructs a prompt with them, and then uses * OpenAI to generate an completion (answer) with that prompt. */ diff --git a/packages/search/src/lib/approaches/chat-read-retrieve-read.ts b/packages/search/src/lib/approaches/chat-read-retrieve-read.ts index 89a434c1..3c6e474e 100644 --- a/packages/search/src/lib/approaches/chat-read-retrieve-read.ts +++ b/packages/search/src/lib/approaches/chat-read-retrieve-read.ts @@ -45,7 +45,7 @@ const QUERY_PROMPT_FEW_SHOTS: Message[] = [ ]; /** - * Simple retrieve-then-read implementation, using the Cognitive Search and OpenAI APIs directly. + * Simple retrieve-then-read implementation, using the AI Search and OpenAI APIs directly. * It first retrieves top documents from search, then constructs a prompt with them, and then uses * OpenAI to generate an completion (answer) with that prompt. */ diff --git a/packages/search/src/plugins/azure.ts b/packages/search/src/plugins/azure.ts index 13b30e50..bceac0b2 100644 --- a/packages/search/src/plugins/azure.ts +++ b/packages/search/src/plugins/azure.ts @@ -13,7 +13,7 @@ export default fp( async (fastify, _options) => { const config = fastify.config; - // Use the current user identity to authenticate with Azure OpenAI, Cognitive Search and Blob Storage + // Use the current user identity to authenticate with Azure OpenAI, AI Search and Blob Storage // (no secrets needed, just use 'az login' locally, and managed identity when deployed on Azure). // If you need to use keys, use separate AzureKeyCredential instances with the keys for each service const credential = new DefaultAzureCredential(); diff --git a/packages/webapp/src/pages/layout/Layout.tsx b/packages/webapp/src/pages/layout/Layout.tsx index df7b1aad..498d6a03 100644 --- a/packages/webapp/src/pages/layout/Layout.tsx +++ b/packages/webapp/src/pages/layout/Layout.tsx @@ -49,7 +49,7 @@ const Layout = () => { -

Azure OpenAI + Cognitive Search

+

Azure OpenAI + AI Search