@azure/ai-language-conversations 1.0.0-alpha.20250108.1 → 1.0.0-alpha.20250109.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/commonjs/index.js +1 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/react-native/index.d.ts +1 -1
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,14 +4,14 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
|
|
|
4
4
|
|
|
5
5
|
The language service conversations API is a suite of natural language processing (NLP) skills that can be used to analyze structured conversations (textual or spoken). The synchronous API in this suite accepts a request and mediates among multiple language projects, such as LUIS Generally Available, Question Answering, Conversational Language Understanding, and then calls the best candidate service to handle the request. At last, it returns a response with the candidate service's response as a payload.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
In some cases, this API needs to forward requests and responses between the caller and an upstream service. The asynchronous APIs in this suite enable tasks like Conversation Summarization and Conversational PII detection.
|
|
8
8
|
|
|
9
9
|
Key links:
|
|
10
10
|
|
|
11
11
|
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitivelanguage/ai-language-conversations)
|
|
12
12
|
- [Package (NPM)](https://www.npmjs.com/package/@azure/ai-language-conversations)
|
|
13
13
|
- [API reference documentation](https://aka.ms/clujsapidocs)
|
|
14
|
-
- [Product documentation](https://
|
|
14
|
+
- [Product documentation](https://learn.microsoft.com/azure/cognitive-services/language-service/)
|
|
15
15
|
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitivelanguage/ai-language-conversations/samples-dev)
|
|
16
16
|
|
|
17
17
|
## Getting started
|
|
@@ -72,6 +72,7 @@ const client = new ConversationAnalysisClient("<endpoint>", new AzureKeyCredenti
|
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
### JavaScript Bundle
|
|
75
|
+
|
|
75
76
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
76
77
|
|
|
77
78
|
## Key concepts
|
|
@@ -107,7 +108,7 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
107
108
|
|
|
108
109
|

|
|
109
110
|
|
|
110
|
-
[azure_cli]: https://
|
|
111
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
111
112
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
112
113
|
[azure_portal]: https://portal.azure.com
|
|
113
114
|
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* [Azure Cognitive Language Services](https://
|
|
2
|
+
* [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)
|
|
3
3
|
* is a suite of natural language processing (NLP) skills built with
|
|
4
4
|
* best-in-class Microsoft machine learning algorithms used to analyze
|
|
5
5
|
* unstructured text for actions such as sentiment analysis, key phrase
|
package/dist/browser/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
/**
|
|
4
|
-
* [Azure Cognitive Language Services](https://
|
|
4
|
+
* [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)
|
|
5
5
|
* is a suite of natural language processing (NLP) skills built with
|
|
6
6
|
* best-in-class Microsoft machine learning algorithms used to analyze
|
|
7
7
|
* unstructured text for actions such as sentiment analysis, key phrase
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * [Azure Cognitive Language Services](https://
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)\n * is a suite of natural language processing (NLP) skills built with\n * best-in-class Microsoft machine learning algorithms used to analyze\n * unstructured text for actions such as sentiment analysis, key phrase\n * extraction, and language detection.\n *\n * @packageDocumentation\n */\n\nexport { AzureKeyCredential } from \"@azure/core-auth\";\n\nexport { ConversationAnalysisClient } from \"./conversationAnalysisClient.js\";\nexport * from \"./models.js\";\n"]}
|
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* [Azure Cognitive Language Services](https://
|
|
2
|
+
* [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)
|
|
3
3
|
* is a suite of natural language processing (NLP) skills built with
|
|
4
4
|
* best-in-class Microsoft machine learning algorithms used to analyze
|
|
5
5
|
* unstructured text for actions such as sentiment analysis, key phrase
|
package/dist/commonjs/index.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ConversationAnalysisClient = exports.AzureKeyCredential = void 0;
|
|
6
6
|
const tslib_1 = require("tslib");
|
|
7
7
|
/**
|
|
8
|
-
* [Azure Cognitive Language Services](https://
|
|
8
|
+
* [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)
|
|
9
9
|
* is a suite of natural language processing (NLP) skills built with
|
|
10
10
|
* best-in-class Microsoft machine learning algorithms used to analyze
|
|
11
11
|
* unstructured text for actions such as sentiment analysis, key phrase
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC;;;;;;;;GAQG;AAEH,8CAAsD;AAA7C,+GAAA,kBAAkB,OAAA;AAE3B,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,sDAA4B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * [Azure Cognitive Language Services](https://
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC;;;;;;;;GAQG;AAEH,8CAAsD;AAA7C,+GAAA,kBAAkB,OAAA;AAE3B,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,sDAA4B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)\n * is a suite of natural language processing (NLP) skills built with\n * best-in-class Microsoft machine learning algorithms used to analyze\n * unstructured text for actions such as sentiment analysis, key phrase\n * extraction, and language detection.\n *\n * @packageDocumentation\n */\n\nexport { AzureKeyCredential } from \"@azure/core-auth\";\n\nexport { ConversationAnalysisClient } from \"./conversationAnalysisClient.js\";\nexport * from \"./models.js\";\n"]}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* [Azure Cognitive Language Services](https://
|
|
2
|
+
* [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)
|
|
3
3
|
* is a suite of natural language processing (NLP) skills built with
|
|
4
4
|
* best-in-class Microsoft machine learning algorithms used to analyze
|
|
5
5
|
* unstructured text for actions such as sentiment analysis, key phrase
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
/**
|
|
4
|
-
* [Azure Cognitive Language Services](https://
|
|
4
|
+
* [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)
|
|
5
5
|
* is a suite of natural language processing (NLP) skills built with
|
|
6
6
|
* best-in-class Microsoft machine learning algorithms used to analyze
|
|
7
7
|
* unstructured text for actions such as sentiment analysis, key phrase
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * [Azure Cognitive Language Services](https://
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)\n * is a suite of natural language processing (NLP) skills built with\n * best-in-class Microsoft machine learning algorithms used to analyze\n * unstructured text for actions such as sentiment analysis, key phrase\n * extraction, and language detection.\n *\n * @packageDocumentation\n */\n\nexport { AzureKeyCredential } from \"@azure/core-auth\";\n\nexport { ConversationAnalysisClient } from \"./conversationAnalysisClient.js\";\nexport * from \"./models.js\";\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* [Azure Cognitive Language Services](https://
|
|
2
|
+
* [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)
|
|
3
3
|
* is a suite of natural language processing (NLP) skills built with
|
|
4
4
|
* best-in-class Microsoft machine learning algorithms used to analyze
|
|
5
5
|
* unstructured text for actions such as sentiment analysis, key phrase
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
/**
|
|
4
|
-
* [Azure Cognitive Language Services](https://
|
|
4
|
+
* [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)
|
|
5
5
|
* is a suite of natural language processing (NLP) skills built with
|
|
6
6
|
* best-in-class Microsoft machine learning algorithms used to analyze
|
|
7
7
|
* unstructured text for actions such as sentiment analysis, key phrase
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * [Azure Cognitive Language Services](https://
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * [Azure Cognitive Language Services](https://learn.microsoft.com/azure/cognitive-services/language-service/overview)\n * is a suite of natural language processing (NLP) skills built with\n * best-in-class Microsoft machine learning algorithms used to analyze\n * unstructured text for actions such as sentiment analysis, key phrase\n * extraction, and language detection.\n *\n * @packageDocumentation\n */\n\nexport { AzureKeyCredential } from \"@azure/core-auth\";\n\nexport { ConversationAnalysisClient } from \"./conversationAnalysisClient.js\";\nexport * from \"./models.js\";\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "An isomorphic client library for the Azure Conversational Language Understanding service.",
|
|
6
|
-
"version": "1.0.0-alpha.
|
|
6
|
+
"version": "1.0.0-alpha.20250109.1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=18.0.0"
|
|
9
9
|
},
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"language-service"
|
|
99
99
|
],
|
|
100
100
|
"requiredResources": {
|
|
101
|
-
"Azure Cognitive Services instance": "https://
|
|
101
|
+
"Azure Cognitive Services instance": "https://learn.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"type": "module",
|