Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/cognitiveservices-computervision",
"author": "Microsoft Corporation",
"description": "ComputerVisionClient Library with typescript type definitions for node.js and browser.",
"version": "7.0.1",
"version": "7.1.0",
"dependencies": {
"@azure/ms-rest-js": "^2.0.4",
"tslib": "^1.10.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import * as msRest from "@azure/ms-rest-js";

const packageName = "@azure/cognitiveservices-computervision";
const packageVersion = "7.0.1";
const packageVersion = "7.1.0";

export class ComputerVisionClientContext extends msRest.ServiceClient {
endpoint: string;
Expand Down Expand Up @@ -42,7 +42,7 @@ export class ComputerVisionClientContext extends msRest.ServiceClient {

super(credentials, options);

this.baseUri = "{Endpoint}/vision/v3.0";
this.baseUri = "{Endpoint}/vision/v3.1";
this.requestContentType = "application/json; charset=utf-8";
this.endpoint = endpoint;
this.credentials = credentials;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -864,12 +864,12 @@ export interface ComputerVisionClientGenerateThumbnailOptionalParams extends msR
*/
export interface ComputerVisionClientReadOptionalParams extends msRest.RequestOptionsBase {
/**
* The BCP-47 language code of the text to be detected in the image. In future versions, when
* language parameter is not passed, language detection will be used to determine the language.
* However, in the current version, missing language parameter will cause English to be used. To
* ensure that your document is always parsed in English without the use of language detection in
* the future, pass “en” in the language parameter. Possible values include: 'en', 'es', 'fr',
* 'de', 'it', 'nl', 'pt'. Default value: 'en'.
* The BCP-47 language code of the text in the document. Currently, only English ('en'), Dutch
* (‘nl’), French (‘fr’), German (‘de’), Italian (‘it’), Portuguese (‘pt), and Spanish ('es') are
* supported. Read supports auto language identification and multi-language documents, so only
* provide a language code if you would like to force the documented to be processed as that
* specific language. Possible values include: 'en', 'es', 'fr', 'de', 'it', 'nl', 'pt'. Default
* value: 'en'.
*/
language?: OcrDetectionLanguage;
}
Expand Down Expand Up @@ -988,12 +988,12 @@ export interface ComputerVisionClientTagImageInStreamOptionalParams extends msRe
*/
export interface ComputerVisionClientReadInStreamOptionalParams extends msRest.RequestOptionsBase {
/**
* The BCP-47 language code of the text to be detected in the image. In future versions, when
* language parameter is not passed, language detection will be used to determine the language.
* However, in the current version, missing language parameter will cause English to be used. To
* ensure that your document is always parsed in English without the use of language detection in
* the future, pass “en” in the language parameter. Possible values include: 'en', 'es', 'fr',
* 'de', 'it', 'nl', 'pt'. Default value: 'en'.
* The BCP-47 language code of the text in the document. Currently, only English ('en'), Dutch
* (‘nl’), French (‘fr’), German (‘de’), Italian (‘it’), Portuguese (‘pt), and Spanish ('es') are
* supported. Read supports auto language identification and multi-language documents, so only
* provide a language code if you would like to force the documented to be processed as that
* specific language. Possible values include: 'en', 'es', 'fr', 'de', 'it', 'nl', 'pt'. Default
* value: 'en'.
*/
language?: OcrDetectionLanguage;
}
Expand Down