Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Search] Enable OcrSkill and ImageAnalysisSkill #23495

Merged
merged 5 commits into from
Oct 31, 2022
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
4 changes: 4 additions & 0 deletions sdk/search/search-documents/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@

### Features Added

- Enable `OcrSkill` and `ImageAnalysisSkill`. [#23495](https://github.com/Azure/azure-sdk-for-js/pull/23495)

### Breaking Changes

- Update `SearchIndexerDataNoneIdentity.odatatype`. [#23495](https://github.com/Azure/azure-sdk-for-js/pull/23495)

### Bugs Fixed

### Other Changes
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

200 changes: 195 additions & 5 deletions sdk/search/search-documents/review/search-documents.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export interface BaseScoringFunction {

// @public
export interface BaseSearchIndexerDataIdentity {
odatatype: "#Microsoft.Azure.Search.SearchIndexerDataNoneIdentity" | "#Microsoft.Azure.Search.SearchIndexerDataUserAssignedIdentity";
odatatype: "#Microsoft.Azure.Search.DataNoneIdentity" | "#Microsoft.Azure.Search.DataUserAssignedIdentity";
}

// @public
Expand Down Expand Up @@ -986,11 +986,58 @@ export enum KnownEntityRecognitionSkillLanguage {

// @public
export enum KnownImageAnalysisSkillLanguage {
Ar = "ar",
dgetu marked this conversation as resolved.
Show resolved Hide resolved
Az = "az",
Bg = "bg",
Bs = "bs",
Ca = "ca",
Cs = "cs",
Cy = "cy",
Da = "da",
De = "de",
El = "el",
En = "en",
Es = "es",
Et = "et",
Eu = "eu",
Fi = "fi",
Fr = "fr",
Ga = "ga",
Gl = "gl",
He = "he",
Hi = "hi",
Hr = "hr",
Hu = "hu",
Id = "id",
It = "it",
Ja = "ja",
Kk = "kk",
Ko = "ko",
Lt = "lt",
Lv = "lv",
Mk = "mk",
Ms = "ms",
Nb = "nb",
Nl = "nl",
Pl = "pl",
Prs = "prs",
Pt = "pt",
Zh = "zh"
PtBR = "pt-BR",
PtPT = "pt-PT",
Ro = "ro",
Ru = "ru",
Sk = "sk",
Sl = "sl",
SrCyrl = "sr-Cyrl",
SrLatn = "sr-Latn",
Sv = "sv",
Th = "th",
Tr = "tr",
Uk = "uk",
Vi = "vi",
Zh = "zh",
ZhHans = "zh-Hans",
ZhHant = "zh-Hant"
}

// @public
Expand Down Expand Up @@ -1146,33 +1193,176 @@ export enum KnownLineEnding {

// @public
export enum KnownOcrSkillLanguage {
Af = "af",
Anp = "anp",
Ar = "ar",
Ast = "ast",
Awa = "awa",
Az = "az",
Be = "be",
BeCyrl = "be-cyrl",
BeLatn = "be-latn",
Bfy = "bfy",
Bfz = "bfz",
Bg = "bg",
Bgc = "bgc",
Bho = "bho",
Bi = "bi",
Bns = "bns",
Br = "br",
Bra = "bra",
Brx = "brx",
Bs = "bs",
Bua = "bua",
Ca = "ca",
Ceb = "ceb",
Ch = "ch",
CnrCyrl = "cnr-cyrl",
CnrLatn = "cnr-latn",
Co = "co",
Crh = "crh",
Cs = "cs",
Csb = "csb",
Cy = "cy",
Da = "da",
De = "de",
Dhi = "dhi",
Doi = "doi",
Dsb = "dsb",
El = "el",
En = "en",
Es = "es",
Et = "et",
Eu = "eu",
Fa = "fa",
Fi = "fi",
Fil = "fil",
Fj = "fj",
Fo = "fo",
Fr = "fr",
Fur = "fur",
Fy = "fy",
Ga = "ga",
Gag = "gag",
Gd = "gd",
Gil = "gil",
Gl = "gl",
Gon = "gon",
Gv = "gv",
Gvr = "gvr",
Haw = "haw",
Hi = "hi",
Hlb = "hlb",
Hne = "hne",
Hni = "hni",
Hoc = "hoc",
Hr = "hr",
Hsb = "hsb",
Ht = "ht",
Hu = "hu",
Ia = "ia",
Id = "id",
Is = "is",
It = "it",
Iu = "iu",
Ja = "ja",
Jns = "Jns",
Jv = "jv",
Kaa = "kaa",
KaaCyrl = "kaa-cyrl",
Kac = "kac",
Kea = "kea",
Kfq = "kfq",
Kha = "kha",
KkCyrl = "kk-cyrl",
KkLatn = "kk-latn",
Kl = "kl",
Klr = "klr",
Kmj = "kmj",
Ko = "ko",
Kos = "kos",
Kpy = "kpy",
Krc = "krc",
Kru = "kru",
Ksh = "ksh",
KuArab = "ku-arab",
KuLatn = "ku-latn",
Kum = "kum",
Kw = "kw",
Ky = "ky",
La = "la",
Lb = "lb",
Lkt = "lkt",
Lt = "lt",
Mi = "mi",
Mn = "mn",
Mr = "mr",
Ms = "ms",
Mt = "mt",
Mww = "mww",
Myv = "myv",
Nap = "nap",
Nb = "nb",
Ne = "ne",
Niu = "niu",
Nl = "nl",
No = "no",
Nog = "nog",
Oc = "oc",
Os = "os",
Pa = "pa",
Pl = "pl",
Prs = "prs",
Ps = "ps",
Pt = "pt",
Quc = "quc",
Rab = "rab",
Rm = "rm",
Ro = "ro",
Ru = "ru",
Sa = "sa",
Sat = "sat",
Sck = "sck",
Sco = "sco",
Sk = "sk",
Sl = "sl",
Sm = "sm",
Sma = "sma",
Sme = "sme",
Smj = "smj",
Smn = "smn",
Sms = "sms",
So = "so",
Sq = "sq",
Sr = "sr",
SrCyrl = "sr-Cyrl",
SrLatn = "sr-Latn",
Srx = "srx",
Sv = "sv",
Sw = "sw",
Tet = "tet",
Tg = "tg",
Thf = "thf",
Tk = "tk",
To = "to",
Tr = "tr",
Tt = "tt",
Tyv = "tyv",
Ug = "ug",
Unk = "unk",
Ur = "ur",
Uz = "uz",
UzArab = "uz-arab",
UzCyrl = "uz-cyrl",
Vo = "vo",
Wae = "wae",
Xnr = "xnr",
Xsr = "xsr",
Yua = "yua",
Za = "za",
ZhHans = "zh-Hans",
ZhHant = "zh-Hant"
ZhHant = "zh-Hant",
Zu = "zu"
}

// @public
Expand Down Expand Up @@ -2035,7 +2225,7 @@ export type SearchIndexerDataIdentity = SearchIndexerDataNoneIdentity | SearchIn

// @public
export type SearchIndexerDataNoneIdentity = BaseSearchIndexerDataIdentity & {
odatatype: "#Microsoft.Azure.Search.SearchIndexerDataNoneIdentity";
odatatype: "#Microsoft.Azure.Search.DataNoneIdentity";
dgetu marked this conversation as resolved.
Show resolved Hide resolved
};

// @public
Expand All @@ -2057,7 +2247,7 @@ export type SearchIndexerDataSourceType = string;

// @public
export type SearchIndexerDataUserAssignedIdentity = BaseSearchIndexerDataIdentity & {
odatatype: "#Microsoft.Azure.Search.SearchIndexerDataUserAssignedIdentity";
odatatype: "#Microsoft.Azure.Search.DataUserAssignedIdentity";
userAssignedIdentity: string;
};

Expand Down
39 changes: 5 additions & 34 deletions sdk/search/search-documents/src/generated/data/models/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading