Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Language.AnalyzeText and Language.Conversations migration to Typespec (…
…#27392) * Adding example TypeSpec definition for CLU (#24309) * setup * modified CODEOWNERS * new changes * new changes * new changes * fixing validation errors * Adding Models to Typespec for CLU (#24376) * setup * modified CODEOWNERS * new changes * new changes * new changes * fixing validation errors * adding models * added models * resolved comments * added AADToken * defined AADToken as model * added common.tsp * edited formatting * fixed syntax * resolved comments * removed required property * changed ErrorResponse to a model * model updates * Adding Path Object to Typespec for CLU (#24597) * added route * added examples to path object * fixed example file paths * route changes * removed union * fixes * fixes * fixes * fixes * fixed example file paths * removed example * updated route * rebase * rebase * rebase * added examples to path object * fixed example file paths * rebase * edited config * added comment * removed import * added team as codeowners * removed examples * added version enum and edited tspconfig * added doc decorators to enums * added more doc decorators to enums * validation fixes * lint diff fix * suppressed warnings * supressed enum warnings and removed '/language' from hostTemplate * Model Changes in TypeSpec for CLU (#24866) * added route * added examples to path object * fixed example file paths * route changes * removed union * fixes * fixes * fixes * fixes * fixed example file paths * removed example * updated route * rebase * rebase * rebase * added examples to path object * fixed example file paths * rebase * edited config * added comment * removed import * added team as codeowners * removed examples * added version enum and edited tspconfig * added doc decorators to enums * added more doc decorators to enums * validation fixes * lint diff fix * suppressed warnings * supressed enum warnings and removed '/language' from hostTemplate * added projectedname decorator to some properties * edits to models in common.tsp * edited model properties in main.tsp * TypeSpec updates for SDK generation (#24973) * added route * added examples to path object * fixed example file paths * route changes * removed union * fixes * fixes * fixes * fixes * fixed example file paths * removed example * updated route * rebase * rebase * rebase * added examples to path object * fixed example file paths * rebase * edited config * added comment * removed import * added team as codeowners * removed examples * added version enum and edited tspconfig * added doc decorators to enums * added more doc decorators to enums * validation fixes * lint diff fix * suppressed warnings * supressed enum warnings and removed '/language' from hostTemplate * added projectedname decorator to some properties * edits to models in common.tsp * edited model properties in main.tsp * fixed spacing * updating config * spacing fix * modified service-dir path * removed csharp * tsp config changes * removed autorest import * LuisTargetIntentResult model update * added csharp emitter * model change * removed autorest * model property change * modified model property * useauth change * capitalized endpoint * changed endpoint to lowercase * back to uppercase * Added @convientAPI decorator for SDK Generation (#25179) * added route * added examples to path object * fixed example file paths * route changes * removed union * fixes * fixes * fixes * fixes * fixed example file paths * removed example * updated route * rebase * rebase * rebase * added examples to path object * fixed example file paths * rebase * edited config * added comment * removed import * added team as codeowners * removed examples * added version enum and edited tspconfig * added doc decorators to enums * added more doc decorators to enums * validation fixes * lint diff fix * suppressed warnings * supressed enum warnings and removed '/language' from hostTemplate * added projectedname decorator to some properties * edits to models in common.tsp * edited model properties in main.tsp * fixed spacing * updating config * spacing fix * modified service-dir path * removed csharp * tsp config changes * removed autorest import * LuisTargetIntentResult model update * added csharp emitter * model change * removed autorest * model property change * modified model property * useauth change * capitalized endpoint * changed endpoint to lowercase * back to uppercase * sdk generation fix * Removed discriminator from AnalyzeConversationTaskResult model (#25250) * model change for sdk * modified result property * Added 2023-04-01 and 2023-04-15-preview version models to TypeSpec for Analyze Conversations (#24899) Added 2023-04-01 and 2023-04-15-preview version models to TypeSpec for Analyze Conversations --------- Co-authored-by: Quentin Robinson <32183739+quentinRobinson@users.noreply.github.com> * moved to nonstandard LRO and general fixes * fixed tsp * added AnalyzeConversationPiiTask * first commit for text analytics tsp * second commit * fixed refactoring errors * refactor analyzetext * fixed routes * added 2023-04-01 ga version * cleanup * Cleanup * general fixes * updated tsp config and eng folder to match main * Adding example TypeSpec definition for CLU (#24309) * setup * modified CODEOWNERS * new changes * new changes * new changes * fixing validation errors * Adding Models to Typespec for CLU (#24376) * setup * modified CODEOWNERS * new changes * new changes * new changes * fixing validation errors * adding models * added models * resolved comments * added AADToken * defined AADToken as model * added common.tsp * edited formatting * fixed syntax * resolved comments * removed required property * changed ErrorResponse to a model * model updates * Adding Path Object to Typespec for CLU (#24597) * added route * added examples to path object * fixed example file paths * route changes * removed union * fixes * fixes * fixes * fixes * fixed example file paths * removed example * updated route * rebase * rebase * rebase * added examples to path object * fixed example file paths * rebase * edited config * added comment * removed import * added team as codeowners * removed examples * added version enum and edited tspconfig * added doc decorators to enums * added more doc decorators to enums * validation fixes * lint diff fix * suppressed warnings * supressed enum warnings and removed '/language' from hostTemplate * Model Changes in TypeSpec for CLU (#24866) * added route * added examples to path object * fixed example file paths * route changes * removed union * fixes * fixes * fixes * fixes * fixed example file paths * removed example * updated route * rebase * rebase * rebase * added examples to path object * fixed example file paths * rebase * edited config * added comment * removed import * added team as codeowners * removed examples * added version enum and edited tspconfig * added doc decorators to enums * added more doc decorators to enums * validation fixes * lint diff fix * suppressed warnings * supressed enum warnings and removed '/language' from hostTemplate * added projectedname decorator to some properties * edits to models in common.tsp * edited model properties in main.tsp * TypeSpec updates for SDK generation (#24973) * added route * added examples to path object * fixed example file paths * route changes * removed union * fixes * fixes * fixes * fixes * fixed example file paths * removed example * updated route * rebase * rebase * rebase * added examples to path object * fixed example file paths * rebase * edited config * added comment * removed import * added team as codeowners * removed examples * added version enum and edited tspconfig * added doc decorators to enums * added more doc decorators to enums * validation fixes * lint diff fix * suppressed warnings * supressed enum warnings and removed '/language' from hostTemplate * added projectedname decorator to some properties * edits to models in common.tsp * edited model properties in main.tsp * fixed spacing * updating config * spacing fix * modified service-dir path * removed csharp * tsp config changes * removed autorest import * LuisTargetIntentResult model update * added csharp emitter * model change * removed autorest * model property change * modified model property * useauth change * capitalized endpoint * changed endpoint to lowercase * back to uppercase * Added @convientAPI decorator for SDK Generation (#25179) * added route * added examples to path object * fixed example file paths * route changes * removed union * fixes * fixes * fixes * fixes * fixed example file paths * removed example * updated route * rebase * rebase * rebase * added examples to path object * fixed example file paths * rebase * edited config * added comment * removed import * added team as codeowners * removed examples * added version enum and edited tspconfig * added doc decorators to enums * added more doc decorators to enums * validation fixes * lint diff fix * suppressed warnings * supressed enum warnings and removed '/language' from hostTemplate * added projectedname decorator to some properties * edits to models in common.tsp * edited model properties in main.tsp * fixed spacing * updating config * spacing fix * modified service-dir path * removed csharp * tsp config changes * removed autorest import * LuisTargetIntentResult model update * added csharp emitter * model change * removed autorest * model property change * modified model property * useauth change * capitalized endpoint * changed endpoint to lowercase * back to uppercase * sdk generation fix * Removed discriminator from AnalyzeConversationTaskResult model (#25250) * model change for sdk * modified result property * Added 2023-04-01 and 2023-04-15-preview version models to TypeSpec for Analyze Conversations (#24899) Added 2023-04-01 and 2023-04-15-preview version models to TypeSpec for Analyze Conversations --------- Co-authored-by: Quentin Robinson <32183739+quentinRobinson@users.noreply.github.com> * moved to nonstandard LRO and general fixes * fixed tsp * added AnalyzeConversationPiiTask * first commit for text analytics tsp * second commit * fixed refactoring errors * refactor analyzetext * added 2023-04-01 ga version * general fixes * cleanup * Cleanup * updated tsp config and eng folder to match main * reset som eng/* and package files to main * update eng files * reset files to main * reset codeowners to main * Add support for version 2023-11-15-preview in Language.AnalyzeText * Added exmaples and updated added a language interface * Add scriptCode property to DetectedLanguage model * Fix general Typespec errors * Remove exampleValidation.txt file * revert file deletions * Update entity recognition documentation * Fix general typespec errors * Update language detection examples * removed unused refrences and fix errors * updated LanguageConversations * fix openapi pipeline errors * fix more pipeline errors * fixed typespec compile warnings * remove examples from typespec for sdk generation * tsv fixes * Update SentimentResponse model and analyzetext.json for document response * Update healthcare and summarization models * Update SentimentResponseWithDocumentDetectedLanguage model * fixed prettier checks * TSV validation fixes * Prettier fixes * Rename C# project to AnalyzeText * Add query parameter for generating summary * ypeSpec Validation fixes * fixed server endpoint * fixed missing comma * Remove x-ms-examples from analyzeconversations.json and analyzetext.json * mitigate some breaking changes * fixed some breaking changes * breaking change fix * more breaking change fixes * fixed more breaking changes * fixed breaking changes * fixed more breaking changes * fixed breaking change * breaking changes * reset unintended changes * added examples back * tsv fixes * fixed examples * Update Language.Conversations version 2023-11-15-preview doc * fixed models and removed unneeded file * fixed breaking changes * fix breaking change * more breaking changes * fix breaking changes * breaking chagnes fix * commented examples due to not working with autorest * quote autorest flavor * removed flavor * add clientname for Association * rename for csharp * rename for csharp * bug fix on TemporalSpanMetadata * removed invalid extends * fix more bad extends * Add docs for common.models.tsp * Updated for entities and language * remove the base object Record<Unknown> * tsv fixes * spell check and projectedName to encodedName * fixed encodedname * add docs to healthcare tsp * Few more missing docs * fix tsv errors * tsv fixes * Some more missing docs * spec * missing docs * fixing typespec validation * tsv fixes * Fix swagger spell check errors * fix type validation * typo in /common.models.tsp * Add @doc decorators to the Summarization typespec file * More * Add Keyphrase and sentiment * . * Update custom-words.txt to contain picometers * Fix tsv error * Rename the operation IDs in the examples to match * Update examples for analyze-conversations * tsv compile * fix exclude parameter * run tsv compile * Address comments * Some more changes * remove 2023-04-15-preview * remove @needsRoute * Remove readme * addressed PR comments * removed @clientname from models * revert removing QnA from analyze-conversations * Add some docs * Address doc comments * fix spellcheck * Remove Record<Unknown> * small change * fix analyze-conv sync * fix km * removing unnecessary QnA reference from analyze-conversations * Update specification/cognitiveservices/Language.Conversations/main.tsp Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com> * Update specification/cognitiveservices/Language.AnalyzeText/client.tsp Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com> * Address comments * Add client.tsp * fx tsp * tsv compile * remove extra impor * Update specification/cognitiveservices/Language.AnalyzeText/tspconfig.yaml Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com> * make enable?:true * fix tsp * address comment * remaining comments * use Azure.Core.Foundations.ErrorResponse * Address comments of LuisResult * Update doc comments * tsv compile --------- Co-authored-by: Zach-King2 <135664462+Zach-King2@users.noreply.github.com> Co-authored-by: Bidisha Chakraborty <bidishac@microsoft.com> Co-authored-by: Dimitry Vislov <dmitryvislov@microsoft.com> Co-authored-by: Bidisha Chakraborty <29803402+bidisha-c@users.noreply.github.com> Co-authored-by: Mohamed Abbas <moaba@microsoft.com> Co-authored-by: catalinaperalta <catalinaperaltah@hotmail.com>