Quality analytics comparing the styled text against the input text and training data. Only present when include_quality is true.
Show child attributes
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Vaero AI Style API","colors":{"primary":"#2B4FF3","light":"#31A5F4","dark":"#0F1022"},"favicon":"https://mintcdn.com/vaero/y2t9VRBorN0cAjfx/favicon.svg?fit=max\u0026auto=format\u0026n=y2t9VRBorN0cAjfx\u0026q=85\u0026s=ffff06644fe0fbd502e1234a6d89233a","logo":{"light":"https://mintcdn.com/vaero/r6BYlJMvZni7Gu_F/logo/vaero_logo.png?fit=max\u0026auto=format\u0026n=r6BYlJMvZni7Gu_F\u0026q=85\u0026s=79a6cbe3dd3f76311eeec327bfe7aafe","dark":"https://mintcdn.com/vaero/r6BYlJMvZni7Gu_F/logo/vaero_logo_dark.png?fit=max\u0026auto=format\u0026n=r6BYlJMvZni7Gu_F\u0026q=85\u0026s=37fb4ff7aba905bf84ec3d5eff4e1dd0"},"navbar":{"links":[{"label":"Support","href":"mailto:hello@vaero.co"}],"primary":{"type":"button","label":"Home","href":"https://vaeroai.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vaero","hasAudioNarration":false,"actualSubdomain":"vaero","customDomains":["docs.vaero.co"],"gitSource":{"type":"github","owner":"vaerohq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a7be9dc811f81fc94686e9f","collectionId":"aa9636d8-cb83-451d-a92e-e088c0e45afb","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a7be9dc811f81fc94686e9f"},"entitlements":{},"buildId":"6a7be9dc811f81fc94686e9f:success","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Documentation","count":9},{"language":"default","tag":"API Reference","count":9},{"language":"default","tag":"Files","count":5},{"language":"default","tag":"Features","count":4},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Fine Tuning","count":3},{"language":"default","tag":"Support","count":2},{"language":"default","tag":"Styling","count":1}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/styling/style-transform","slug":"/api-reference/styling/style-transform","pageMetadata":{"title":"Style transform","description":"Use fine-tuned model to style text.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /style/transform","href":"/api-reference/styling/style-transform","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use fine-tuned model to style text.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Style transform","description":"Use fine-tuned model to style text.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /style/transform","href":"/api-reference/styling/style-transform","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Styling"],"summary":"Style transform","description":"Use fine-tuned model to style text.","requestBody":"8ae30e5b-3124-48f6-895b-11476f952f08","responses":{"200":"c5976673-22e6-4bdc-ac78-e67bd8b93a42","400":"0f78630e-7396-44e1-8e7f-8679f66cf82a","401":"47a11aa9-b7f7-41c1-ac17-a3eaca4b0ea3"},"security":["8be0f8ea-14c5-4692-b78d-40e017676e53"],"method":"post","type":"path","servers":["c956820c-a757-4663-9ef4-d47e43fdc9f0"],"path":"/style/transform","baseUrlOptions":["https://vaeroapi.com/v1"],"title":"Style transform","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Full Mode","required":["mode","model","messages"],"properties":{"mode":{"type":"string","enum":["full"],"description":"Use 'full' for end-to-end inference of a prompt.","example":"full","isRequired":true,"uniqueKey":"oneOf.0.mode","typeLabel":"enum\u003cstring>"},"messages":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant"],"uniqueKey":"oneOf.0.messages.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"type":"string","uniqueKey":"oneOf.0.messages.items.[INDEX].content","typeLabel":"string"}},"uniqueKey":"oneOf.0.messages.items.[INDEX]","typeLabel":"object"},"description":"Conversation history. Required when mode is 'full'.","example":[{"role":"user","content":"Write a blog post about Florence."}],"isRequired":true,"uniqueKey":"oneOf.0.messages","typeLabel":"object[]"},"model":{"type":"string","description":"ID of the fine-tuned model to use.","example":"ftm-custom-name-0b5ace7e-ffb2-43cf-8a4d-0af17bc2b1d1","isRequired":true,"uniqueKey":"oneOf.0.model","typeLabel":"string"},"full_mode_options":{"type":"object","description":"Options specific to 'full' mode.","properties":{"base_model":{"type":"string","description":"The base model to use for generating the initial response that will be styled. Supported models include GPT (gpt-4o, gpt-4o-mini, gpt-4.1, gpt-5, gpt-5.2, gpt-5.4, o3, o4-mini) and Claude (claude-sonnet-4-5, claude-sonnet-4-6, claude-opus-4-5, claude-opus-4-6, claude-opus-4-7).","example":"claude-sonnet-4-6","default":"claude-sonnet-4-6","uniqueKey":"oneOf.0.full_mode_options.base_model","typeLabel":"string"},"base_model_api_key":{"oneOf":[{"type":"string","description":"API key for authenticating with the base model provider. If not provided, the key stored in your project's 3rd Party API Keys settings will be used.","default":null,"uniqueKey":"oneOf.0.full_mode_options.base_model_api_key.oneOf.0","typeLabel":"string"},{"type":"null","description":"API key for authenticating with the base model provider. If not provided, the key stored in your project's 3rd Party API Keys settings will be used.","default":null,"uniqueKey":"oneOf.0.full_mode_options.base_model_api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.full_mode_options.base_model_api_key","typeLabel":"string | null"},"base_model_service":{"type":"string","enum":["auto","azure","anthropic","openai"],"description":"The service provider to use for the base model. When set to 'auto', the service is inferred from the base_model name (Claude models use Anthropic, GPT/o-series models use OpenAI).","default":"auto","example":"auto","uniqueKey":"oneOf.0.full_mode_options.base_model_service","typeLabel":"enum\u003cstring>"},"base_model_endpoint":{"oneOf":[{"type":"string","description":"The Azure OpenAI endpoint URL. Only used when base_model_service is 'azure'. If not provided, the endpoint stored in your project's 3rd Party API Keys settings will be used.","default":null,"uniqueKey":"oneOf.0.full_mode_options.base_model_endpoint.oneOf.0","typeLabel":"string"},{"type":"null","description":"The Azure OpenAI endpoint URL. Only used when base_model_service is 'azure'. If not provided, the endpoint stored in your project's 3rd Party API Keys settings will be used.","default":null,"uniqueKey":"oneOf.0.full_mode_options.base_model_endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.full_mode_options.base_model_endpoint","typeLabel":"string | null"},"base_temperature":{"type":"number","description":"Sampling temperature for the base model, between 0 and 2.","example":0,"default":0,"uniqueKey":"oneOf.0.full_mode_options.base_temperature","typeLabel":"number"}},"uniqueKey":"oneOf.0.full_mode_options","typeLabel":"object"},"stream":{"type":"boolean","description":"Whether to stream the response.","default":false,"example":false,"uniqueKey":"oneOf.0.stream","typeLabel":"boolean"},"include_quality":{"type":"boolean","description":"Whether to include quality metrics in the response.","default":false,"example":false,"uniqueKey":"oneOf.0.include_quality","typeLabel":"boolean"},"include_rouge":{"type":"boolean","description":"Whether to include rouge score in quality metrics. Only applies when include_quality is true.","default":false,"example":false,"uniqueKey":"oneOf.0.include_rouge","typeLabel":"boolean"},"include_compare_original":{"type":"boolean","description":"Whether to include original text for comparison to styled text.","default":false,"example":false,"uniqueKey":"oneOf.0.include_compare_original","typeLabel":"boolean"},"include_distance":{"type":"boolean","description":"Whether to include distance metrics comparing the original and styled text.","default":false,"example":false,"uniqueKey":"oneOf.0.include_distance","typeLabel":"boolean"},"skip_headings":{"type":"boolean","description":"When set to true, headings are not rewritten.","default":false,"example":false,"uniqueKey":"oneOf.0.skip_headings","typeLabel":"boolean"},"skip_h1":{"type":"boolean","description":"When set to true, H1 headings are not rewritten.","default":false,"example":false,"uniqueKey":"oneOf.0.skip_h1","typeLabel":"boolean"}},"uniqueKey":"oneOf.0","typeLabel":"Full Mode · object"},{"type":"object","title":"Rewrite Mode","required":["mode","model","message"],"properties":{"mode":{"type":"string","enum":["rewrite"],"description":"Use 'rewrite' to rewrite a text.","example":"rewrite","isRequired":true,"uniqueKey":"oneOf.1.mode","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Input text to be styled. The text can include multiple paragraphs. Required when mode is 'rewrite'.","example":"The quick brown fox jumped over the lazy dog","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"model":{"type":"string","description":"ID of the fine-tuned model to use.","example":"ftm-custom-name-0b5ace7e-ffb2-43cf-8a4d-0af17bc2b1d1","isRequired":true,"uniqueKey":"oneOf.1.model","typeLabel":"string"},"rewrite_mode_options":{"type":"object","description":"Options specific to 'rewrite' mode.","properties":{"topic":{"type":"string","description":"The topic of the text being styled. Concise description of the topic and does not need to be a full sentence. It is used to provide context to your fine-tuned model for styling.","example":"AI training on GPUs and the systems involved","default":null,"uniqueKey":"oneOf.1.rewrite_mode_options.topic","typeLabel":"string"},"base_prompt":{"type":"string","description":"Deprecated. Use 'topic' instead. Prompt used to generate the text being styled. It was used to provide context to your fine-tuned model for styling.","example":"Write a few sentences about a quick brown fox.","default":null,"deprecated":true,"uniqueKey":"oneOf.1.rewrite_mode_options.base_prompt","typeLabel":"string"},"preceding_context":{"type":"string","description":"Text that precedes the input text. Helps the style model maintain continuity with preceding content.","example":"The quick brown fox jumped over the lazy dog.","default":null,"uniqueKey":"oneOf.1.rewrite_mode_options.preceding_context","typeLabel":"string"}},"uniqueKey":"oneOf.1.rewrite_mode_options","typeLabel":"object"},"stream":{"type":"boolean","description":"Whether to stream the response.","default":false,"example":false,"uniqueKey":"oneOf.1.stream","typeLabel":"boolean"},"include_quality":{"type":"boolean","description":"Whether to include quality metrics in the response.","default":false,"example":false,"uniqueKey":"oneOf.1.include_quality","typeLabel":"boolean"},"include_rouge":{"type":"boolean","description":"Whether to include rouge score in quality metrics. Only applies when include_quality is true.","default":false,"example":false,"uniqueKey":"oneOf.1.include_rouge","typeLabel":"boolean"},"include_compare_original":{"type":"boolean","description":"Whether to include original text for comparison to styled text.","default":false,"example":false,"uniqueKey":"oneOf.1.include_compare_original","typeLabel":"boolean"},"include_distance":{"type":"boolean","description":"Whether to include distance metrics comparing the original and styled text.","default":false,"example":false,"uniqueKey":"oneOf.1.include_distance","typeLabel":"boolean"},"skip_headings":{"type":"boolean","description":"When set to true, headings are not rewritten.","default":false,"example":false,"uniqueKey":"oneOf.1.skip_headings","typeLabel":"boolean"},"skip_h1":{"type":"boolean","description":"When set to true, H1 headings are not rewritten.","default":false,"example":false,"uniqueKey":"oneOf.1.skip_h1","typeLabel":"boolean"}},"uniqueKey":"oneOf.1","typeLabel":"Rewrite Mode · object"}],"uniqueKey":"","typeLabel":"Full Mode · object | Rewrite Mode · object"},"examples":{"full_mode":{"title":"full_mode","value":{"mode":"full","messages":[{"role":"user","content":"Write a blog post about Florence."}],"model":"ftm-custom-name-0b5ace7e-ffb2-43cf-8a4d-0af17bc2b1d1","full_mode_options":{"base_model":"claude-sonnet-4-6","base_model_service":"auto","base_temperature":0},"stream":false,"include_quality":false,"include_rouge":false,"include_compare_original":false,"include_distance":false,"skip_headings":false,"skip_h1":false}},"rewrite_mode":{"title":"rewrite_mode","value":{"mode":"rewrite","message":"The quick brown fox jumped over the lazy dog","model":"ftm-custom-name-0b5ace7e-ffb2-43cf-8a4d-0af17bc2b1d1","rewrite_mode_options":{"topic":"A quick brown fox"},"stream":false,"include_quality":false,"include_rouge":false,"include_compare_original":false,"include_distance":false,"skip_headings":false,"skip_h1":false}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"c5976673-22e6-4bdc-ac78-e67bd8b93a42":{"description":"A chat completion object.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"ID of the chat completion.","example":"chatcmpl-123","uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Type of the object, always 'chat.completion'.","example":"chat.completion","uniqueKey":"object","typeLabel":"string"},"created":{"type":"integer","description":"Unix timestamp for when the completion was created.","example":1677652288,"uniqueKey":"created","typeLabel":"integer"},"model":{"type":"string","description":"Model used for the completion.","example":"ftm-custom-name-0b5ace7e-ffb2-43cf-8a4d-0af17bc2b1d1","uniqueKey":"model","typeLabel":"string"},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","description":"Index of the choice.","example":0,"uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"message":{"type":"object","properties":{"role":{"type":"string","description":"Role of the message author.","example":"assistant","uniqueKey":"choices.items.[INDEX].message.role","typeLabel":"string"},"content":{"type":"string","description":"The generated message content.","example":"The lazy dog was vaulted by a brown fox with the zoomies.","uniqueKey":"choices.items.[INDEX].message.content","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX].message","typeLabel":"object"},"finish_reason":{"type":"string","description":"The reason why the generation stopped.","example":"stop","uniqueKey":"choices.items.[INDEX].finish_reason","typeLabel":"string"}},"uniqueKey":"choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"choices","typeLabel":"object[]"},"usage":{"type":"object","properties":{"prompt_tokens":{"type":"integer","description":"Number of tokens in the prompt.","example":9,"uniqueKey":"usage.prompt_tokens","typeLabel":"integer"},"completion_tokens":{"type":"integer","description":"Number of tokens in the completion.","example":12,"uniqueKey":"usage.completion_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"Total number of tokens used.","example":21,"uniqueKey":"usage.total_tokens","typeLabel":"integer"}},"uniqueKey":"usage","typeLabel":"object"},"quality_analytics":{"type":"object","description":"Quality analytics comparing the styled text against the input text and training data. Only present when include_quality is true.","properties":{"rouge":{"type":"object","description":"ROUGE similarity scores comparing styled text against the training data.","properties":{"rouge1":{"type":"object","description":"ROUGE-1 (unigram overlap) scores.","properties":{"personalized":{"type":"object","description":"ROUGE-1 scores for the styled text vs. training data.","properties":{"precision":{"type":"number","example":0.6875,"uniqueKey":"quality_analytics.rouge.rouge1.personalized.precision","typeLabel":"number"},"recall":{"type":"number","example":0.0006273883533907488,"uniqueKey":"quality_analytics.rouge.rouge1.personalized.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":0.0012536326856231125,"uniqueKey":"quality_analytics.rouge.rouge1.personalized.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rouge1.personalized","typeLabel":"object"},"unpersonalized":{"type":"object","description":"ROUGE-1 scores for the input text vs. training data.","properties":{"precision":{"type":"number","example":0.5833333333333334,"uniqueKey":"quality_analytics.rouge.rouge1.unpersonalized.precision","typeLabel":"number"},"recall":{"type":"number","example":0.0003992471339759311,"uniqueKey":"quality_analytics.rouge.rouge1.unpersonalized.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":0.0007979481333713309,"uniqueKey":"quality_analytics.rouge.rouge1.unpersonalized.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rouge1.unpersonalized","typeLabel":"object"},"personalization_improvement":{"type":"object","description":"Relative improvement from styling, as a fraction.","properties":{"precision":{"type":"number","example":0.1786,"uniqueKey":"quality_analytics.rouge.rouge1.personalization_improvement.precision","typeLabel":"number"},"recall":{"type":"number","example":0.5714,"uniqueKey":"quality_analytics.rouge.rouge1.personalization_improvement.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":0.5711,"uniqueKey":"quality_analytics.rouge.rouge1.personalization_improvement.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rouge1.personalization_improvement","typeLabel":"object"}},"uniqueKey":"quality_analytics.rouge.rouge1","typeLabel":"object"},"rouge2":{"type":"object","description":"ROUGE-2 (bigram overlap) scores.","properties":{"personalized":{"type":"object","description":"ROUGE-2 scores for the styled text vs. training data.","properties":{"precision":{"type":"number","example":0.4,"uniqueKey":"quality_analytics.rouge.rouge2.personalized.precision","typeLabel":"number"},"recall":{"type":"number","example":0.00034223134839151266,"uniqueKey":"quality_analytics.rouge.rouge2.personalized.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":0.0006838775859121217,"uniqueKey":"quality_analytics.rouge.rouge2.personalized.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rouge2.personalized","typeLabel":"object"},"unpersonalized":{"type":"object","description":"ROUGE-2 scores for the input text vs. training data.","properties":{"precision":{"type":"number","example":0.18181818181818182,"uniqueKey":"quality_analytics.rouge.rouge2.unpersonalized.precision","typeLabel":"number"},"recall":{"type":"number","example":0.00011407711613050422,"uniqueKey":"quality_analytics.rouge.rouge2.unpersonalized.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":0.00022801117254745484,"uniqueKey":"quality_analytics.rouge.rouge2.unpersonalized.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rouge2.unpersonalized","typeLabel":"object"},"personalization_improvement":{"type":"object","description":"Relative improvement from styling, as a fraction.","properties":{"precision":{"type":"number","example":1.2,"uniqueKey":"quality_analytics.rouge.rouge2.personalization_improvement.precision","typeLabel":"number"},"recall":{"type":"number","example":2,"uniqueKey":"quality_analytics.rouge.rouge2.personalization_improvement.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":1.9993,"uniqueKey":"quality_analytics.rouge.rouge2.personalization_improvement.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rouge2.personalization_improvement","typeLabel":"object"}},"uniqueKey":"quality_analytics.rouge.rouge2","typeLabel":"object"},"rougeL":{"type":"object","description":"ROUGE-L (longest common subsequence) scores.","properties":{"personalized":{"type":"object","description":"ROUGE-L scores for the styled text vs. training data.","properties":{"precision":{"type":"number","example":0.6875,"uniqueKey":"quality_analytics.rouge.rougeL.personalized.precision","typeLabel":"number"},"recall":{"type":"number","example":0.0006273883533907488,"uniqueKey":"quality_analytics.rouge.rougeL.personalized.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":0.0012536326856231125,"uniqueKey":"quality_analytics.rouge.rougeL.personalized.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rougeL.personalized","typeLabel":"object"},"unpersonalized":{"type":"object","description":"ROUGE-L scores for the input text vs. training data.","properties":{"precision":{"type":"number","example":0.5833333333333334,"uniqueKey":"quality_analytics.rouge.rougeL.unpersonalized.precision","typeLabel":"number"},"recall":{"type":"number","example":0.0003992471339759311,"uniqueKey":"quality_analytics.rouge.rougeL.unpersonalized.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":0.0007979481333713309,"uniqueKey":"quality_analytics.rouge.rougeL.unpersonalized.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rougeL.unpersonalized","typeLabel":"object"},"personalization_improvement":{"type":"object","description":"Relative improvement from styling, as a fraction.","properties":{"precision":{"type":"number","example":0.1786,"uniqueKey":"quality_analytics.rouge.rougeL.personalization_improvement.precision","typeLabel":"number"},"recall":{"type":"number","example":0.5714,"uniqueKey":"quality_analytics.rouge.rougeL.personalization_improvement.recall","typeLabel":"number"},"fmeasure":{"type":"number","example":0.5711,"uniqueKey":"quality_analytics.rouge.rougeL.personalization_improvement.fmeasure","typeLabel":"number"}},"uniqueKey":"quality_analytics.rouge.rougeL.personalization_improvement","typeLabel":"object"}},"uniqueKey":"quality_analytics.rouge.rougeL","typeLabel":"object"}},"uniqueKey":"quality_analytics.rouge","typeLabel":"object"},"sentence_length_stats":{"type":"object","description":"Statistics on sentence length (in words) across styled, input, and training data.","properties":{"mean":{"type":"object","properties":{"personalized":{"type":"number","description":"Mean sentence length of the styled text.","example":16,"uniqueKey":"quality_analytics.sentence_length_stats.mean.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Mean sentence length of the input text.","example":12,"uniqueKey":"quality_analytics.sentence_length_stats.mean.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Mean sentence length of the training data.","example":15.157374100719425,"uniqueKey":"quality_analytics.sentence_length_stats.mean.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0.7331,"uniqueKey":"quality_analytics.sentence_length_stats.mean.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_length_stats.mean","typeLabel":"object"},"median":{"type":"object","properties":{"personalized":{"type":"number","description":"Median sentence length of the styled text.","example":16,"uniqueKey":"quality_analytics.sentence_length_stats.median.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Median sentence length of the input text.","example":12,"uniqueKey":"quality_analytics.sentence_length_stats.median.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Median sentence length of the training data.","example":14,"uniqueKey":"quality_analytics.sentence_length_stats.median.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0,"uniqueKey":"quality_analytics.sentence_length_stats.median.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_length_stats.median","typeLabel":"object"},"std_dev":{"type":"object","properties":{"personalized":{"type":"number","description":"Standard deviation of sentence lengths in the styled text.","example":0,"uniqueKey":"quality_analytics.sentence_length_stats.std_dev.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Standard deviation of sentence lengths in the input text.","example":0,"uniqueKey":"quality_analytics.sentence_length_stats.std_dev.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Standard deviation of sentence lengths in the training data.","example":8.524586718203045,"uniqueKey":"quality_analytics.sentence_length_stats.std_dev.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0,"uniqueKey":"quality_analytics.sentence_length_stats.std_dev.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_length_stats.std_dev","typeLabel":"object"}},"uniqueKey":"quality_analytics.sentence_length_stats","typeLabel":"object"},"word_length_stats":{"type":"object","description":"Statistics on word length (in characters) across styled, input, and training data.","properties":{"mean":{"type":"object","properties":{"personalized":{"type":"number","description":"Mean word length of the styled text.","example":4.1875,"uniqueKey":"quality_analytics.word_length_stats.mean.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Mean word length of the input text.","example":5.25,"uniqueKey":"quality_analytics.word_length_stats.mean.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Mean word length of the training data.","example":4.468670643122896,"uniqueKey":"quality_analytics.word_length_stats.mean.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0.6401,"uniqueKey":"quality_analytics.word_length_stats.mean.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.word_length_stats.mean","typeLabel":"object"},"median":{"type":"object","properties":{"personalized":{"type":"number","description":"Median word length of the styled text.","example":4,"uniqueKey":"quality_analytics.word_length_stats.median.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Median word length of the input text.","example":5,"uniqueKey":"quality_analytics.word_length_stats.median.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Median word length of the training data.","example":4,"uniqueKey":"quality_analytics.word_length_stats.median.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":1,"uniqueKey":"quality_analytics.word_length_stats.median.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.word_length_stats.median","typeLabel":"object"},"std_dev":{"type":"object","properties":{"personalized":{"type":"number","description":"Standard deviation of word lengths in the styled text.","example":2.3242942477233814,"uniqueKey":"quality_analytics.word_length_stats.std_dev.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Standard deviation of word lengths in the input text.","example":2.520747243709029,"uniqueKey":"quality_analytics.word_length_stats.std_dev.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Standard deviation of word lengths in the training data.","example":2.4604427259371198,"uniqueKey":"quality_analytics.word_length_stats.std_dev.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":-0.5571,"uniqueKey":"quality_analytics.word_length_stats.std_dev.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.word_length_stats.std_dev","typeLabel":"object"}},"uniqueKey":"quality_analytics.word_length_stats","typeLabel":"object"},"readability":{"type":"object","description":"Readability scores across styled, input, and training data.","properties":{"flesch_reading_ease":{"type":"object","description":"Flesch Reading Ease scores. Higher values indicate easier-to-read text.","properties":{"unpersonalized":{"type":"number","description":"Score for the input text.","example":42.38,"uniqueKey":"quality_analytics.readability.flesch_reading_ease.unpersonalized","typeLabel":"number"},"personalized":{"type":"number","description":"Score for the styled text.","example":63.7,"uniqueKey":"quality_analytics.readability.flesch_reading_ease.personalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Score for the training data.","example":63.29,"uniqueKey":"quality_analytics.readability.flesch_reading_ease.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0.9804,"uniqueKey":"quality_analytics.readability.flesch_reading_ease.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.readability.flesch_reading_ease","typeLabel":"object"},"flesch_kincaid_grade":{"type":"object","description":"Flesch-Kincaid Grade Level scores. Represents the U.S. school grade level needed to understand the text.","properties":{"unpersonalized":{"type":"number","description":"Score for the input text.","example":10.3,"uniqueKey":"quality_analytics.readability.flesch_kincaid_grade.unpersonalized","typeLabel":"number"},"personalized":{"type":"number","description":"Score for the styled text.","example":8.4,"uniqueKey":"quality_analytics.readability.flesch_kincaid_grade.personalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Score for the training data.","example":8.5,"uniqueKey":"quality_analytics.readability.flesch_kincaid_grade.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0.9444,"uniqueKey":"quality_analytics.readability.flesch_kincaid_grade.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.readability.flesch_kincaid_grade","typeLabel":"object"}},"uniqueKey":"quality_analytics.readability","typeLabel":"object"},"function_word_frequency":{"type":"object","description":"Function word frequency distribution similarity to the training data.","properties":{"jensen_shannon_distance":{"type":"object","description":"Jensen-Shannon distance between function word distributions. Lower values indicate greater similarity to the training data.","properties":{"personalized":{"type":"number","description":"Distance for the styled text.","example":0.6689444357441154,"uniqueKey":"quality_analytics.function_word_frequency.jensen_shannon_distance.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Distance for the input text.","example":0.7306543651658907,"uniqueKey":"quality_analytics.function_word_frequency.jensen_shannon_distance.unpersonalized","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0.0845,"uniqueKey":"quality_analytics.function_word_frequency.jensen_shannon_distance.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.function_word_frequency.jensen_shannon_distance","typeLabel":"object"}},"uniqueKey":"quality_analytics.function_word_frequency","typeLabel":"object"},"pos_frequency":{"type":"object","description":"Part-of-speech frequency distribution similarity to the training data.","properties":{"jensen_shannon_distance":{"type":"object","description":"Jensen-Shannon distance between part-of-speech distributions. Lower values indicate greater similarity to the training data.","properties":{"personalized":{"type":"number","description":"Distance for the styled text.","example":0.45509363085996124,"uniqueKey":"quality_analytics.pos_frequency.jensen_shannon_distance.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Distance for the input text.","example":0.5559353944473231,"uniqueKey":"quality_analytics.pos_frequency.jensen_shannon_distance.unpersonalized","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0.1814,"uniqueKey":"quality_analytics.pos_frequency.jensen_shannon_distance.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.pos_frequency.jensen_shannon_distance","typeLabel":"object"}},"uniqueKey":"quality_analytics.pos_frequency","typeLabel":"object"},"lexical_density":{"type":"object","description":"Ratio of content words to total words. Measures how informationally dense the text is.","properties":{"personalized":{"type":"number","description":"Lexical density of the styled text.","example":0.5625,"uniqueKey":"quality_analytics.lexical_density.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","description":"Lexical density of the input text.","example":0.6666666666666666,"uniqueKey":"quality_analytics.lexical_density.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","description":"Lexical density of the training data.","example":0.4917616488513553,"uniqueKey":"quality_analytics.lexical_density.ground_truth","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0.5956,"uniqueKey":"quality_analytics.lexical_density.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.lexical_density","typeLabel":"object"},"sentence_structure_frequency":{"type":"object","description":"Distribution of sentence structure types across styled, input, and training data.","properties":{"simple":{"type":"object","description":"Frequency of simple sentences.","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.simple.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":1,"uniqueKey":"quality_analytics.sentence_structure_frequency.simple.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.4064748201438849,"uniqueKey":"quality_analytics.sentence_structure_frequency.simple.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_structure_frequency.simple","typeLabel":"object"},"compound":{"type":"object","description":"Frequency of compound sentences.","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.compound.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.compound.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.030575539568345324,"uniqueKey":"quality_analytics.sentence_structure_frequency.compound.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_structure_frequency.compound","typeLabel":"object"},"complex":{"type":"object","description":"Frequency of complex sentences.","properties":{"personalized":{"type":"number","example":1,"uniqueKey":"quality_analytics.sentence_structure_frequency.complex.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.complex.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.5134892086330936,"uniqueKey":"quality_analytics.sentence_structure_frequency.complex.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_structure_frequency.complex","typeLabel":"object"},"compound-complex":{"type":"object","description":"Frequency of compound-complex sentences.","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.compound-complex.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.compound-complex.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.04946043165467626,"uniqueKey":"quality_analytics.sentence_structure_frequency.compound-complex.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_structure_frequency.compound-complex","typeLabel":"object"},"fragment/unknown":{"type":"object","description":"Frequency of sentence fragments or unclassified structures.","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.fragment/unknown.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.fragment/unknown.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_structure_frequency.fragment/unknown.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_structure_frequency.fragment/unknown","typeLabel":"object"},"jensen_shannon_distance":{"type":"object","description":"Jensen-Shannon distance between sentence structure distributions. Lower values indicate greater similarity to the training data.","properties":{"personalized":{"type":"number","example":0.45652139629164,"uniqueKey":"quality_analytics.sentence_structure_frequency.jensen_shannon_distance.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0.519924367696954,"uniqueKey":"quality_analytics.sentence_structure_frequency.jensen_shannon_distance.unpersonalized","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0.1219,"uniqueKey":"quality_analytics.sentence_structure_frequency.jensen_shannon_distance.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_structure_frequency.jensen_shannon_distance","typeLabel":"object"}},"uniqueKey":"quality_analytics.sentence_structure_frequency","typeLabel":"object"},"sentence_voice_frequency":{"type":"object","description":"Distribution of active vs. passive voice across styled, input, and training data.","properties":{"active":{"type":"object","description":"Frequency of active voice sentences.","properties":{"personalized":{"type":"number","example":1,"uniqueKey":"quality_analytics.sentence_voice_frequency.active.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":1,"uniqueKey":"quality_analytics.sentence_voice_frequency.active.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.9055755395683454,"uniqueKey":"quality_analytics.sentence_voice_frequency.active.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_voice_frequency.active","typeLabel":"object"},"passive":{"type":"object","description":"Frequency of passive voice sentences.","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_voice_frequency.passive.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.sentence_voice_frequency.passive.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.09442446043165467,"uniqueKey":"quality_analytics.sentence_voice_frequency.passive.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_voice_frequency.passive","typeLabel":"object"},"jensen_shannon_distance":{"type":"object","description":"Jensen-Shannon distance between voice distributions. Lower values indicate greater similarity to the training data.","properties":{"personalized":{"type":"number","example":0.18410656144604748,"uniqueKey":"quality_analytics.sentence_voice_frequency.jensen_shannon_distance.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0.18410656144604748,"uniqueKey":"quality_analytics.sentence_voice_frequency.jensen_shannon_distance.unpersonalized","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0,"uniqueKey":"quality_analytics.sentence_voice_frequency.jensen_shannon_distance.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.sentence_voice_frequency.jensen_shannon_distance","typeLabel":"object"}},"uniqueKey":"quality_analytics.sentence_voice_frequency","typeLabel":"object"},"punctuation":{"type":"object","description":"Punctuation usage density across styled, input, and training data. Each density value represents the proportion of that punctuation type relative to all punctuation.","properties":{"comma_density":{"type":"object","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.comma_density.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.comma_density.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.3713057495969909,"uniqueKey":"quality_analytics.punctuation.comma_density.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.punctuation.comma_density","typeLabel":"object"},"semicolon_density":{"type":"object","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.semicolon_density.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.semicolon_density.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.011821601289629231,"uniqueKey":"quality_analytics.punctuation.semicolon_density.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.punctuation.semicolon_density","typeLabel":"object"},"colon_density":{"type":"object","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.colon_density.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.colon_density.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.04674905964535196,"uniqueKey":"quality_analytics.punctuation.colon_density.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.punctuation.colon_density","typeLabel":"object"},"period_density":{"type":"object","properties":{"personalized":{"type":"number","example":1,"uniqueKey":"quality_analytics.punctuation.period_density.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":1,"uniqueKey":"quality_analytics.punctuation.period_density.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.5292853304674906,"uniqueKey":"quality_analytics.punctuation.period_density.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.punctuation.period_density","typeLabel":"object"},"question_mark_density":{"type":"object","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.question_mark_density.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.question_mark_density.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.030628694250403012,"uniqueKey":"quality_analytics.punctuation.question_mark_density.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.punctuation.question_mark_density","typeLabel":"object"},"exclamation_mark_density":{"type":"object","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.exclamation_mark_density.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.exclamation_mark_density.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.0016120365394948952,"uniqueKey":"quality_analytics.punctuation.exclamation_mark_density.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.punctuation.exclamation_mark_density","typeLabel":"object"},"parenthetical_density":{"type":"object","properties":{"personalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.parenthetical_density.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0,"uniqueKey":"quality_analytics.punctuation.parenthetical_density.unpersonalized","typeLabel":"number"},"ground_truth":{"type":"number","example":0.008597528210639442,"uniqueKey":"quality_analytics.punctuation.parenthetical_density.ground_truth","typeLabel":"number"}},"uniqueKey":"quality_analytics.punctuation.parenthetical_density","typeLabel":"object"},"jensen_shannon_distance":{"type":"object","description":"Jensen-Shannon distance between punctuation distributions. Lower values indicate greater similarity to the training data.","properties":{"personalized":{"type":"number","example":0.4471617217138273,"uniqueKey":"quality_analytics.punctuation.jensen_shannon_distance.personalized","typeLabel":"number"},"unpersonalized":{"type":"number","example":0.4471617217138273,"uniqueKey":"quality_analytics.punctuation.jensen_shannon_distance.unpersonalized","typeLabel":"number"},"personalization_improvement":{"type":"number","description":"Relative improvement from styling.","example":0,"uniqueKey":"quality_analytics.punctuation.jensen_shannon_distance.personalization_improvement","typeLabel":"number"}},"uniqueKey":"quality_analytics.punctuation.jensen_shannon_distance","typeLabel":"object"}},"uniqueKey":"quality_analytics.punctuation","typeLabel":"object"}},"uniqueKey":"quality_analytics","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"chatcmpl-123","object":"chat.completion","created":1677652288,"model":"ftm-custom-name-0b5ace7e-ffb2-43cf-8a4d-0af17bc2b1d1","choices":[{"index":0,"message":{"role":"assistant","content":"The lazy dog was vaulted by a brown fox with the zoomies."},"finish_reason":"stop"}],"usage":{"prompt_tokens":9,"completion_tokens":12,"total_tokens":21},"quality_analytics":{"rouge":{"rouge1":{"personalized":{"precision":0.6875,"recall":0.0006273883533907488,"fmeasure":0.0012536326856231125},"unpersonalized":{"precision":0.5833333333333334,"recall":0.0003992471339759311,"fmeasure":0.0007979481333713309},"personalization_improvement":{"precision":0.1786,"recall":0.5714,"fmeasure":0.5711}},"rouge2":{"personalized":{"precision":0.4,"recall":0.00034223134839151266,"fmeasure":0.0006838775859121217},"unpersonalized":{"precision":0.18181818181818182,"recall":0.00011407711613050422,"fmeasure":0.00022801117254745484},"personalization_improvement":{"precision":1.2,"recall":2,"fmeasure":1.9993}},"rougeL":{"personalized":{"precision":0.6875,"recall":0.0006273883533907488,"fmeasure":0.0012536326856231125},"unpersonalized":{"precision":0.5833333333333334,"recall":0.0003992471339759311,"fmeasure":0.0007979481333713309},"personalization_improvement":{"precision":0.1786,"recall":0.5714,"fmeasure":0.5711}}},"sentence_length_stats":{"mean":{"personalized":16,"unpersonalized":12,"ground_truth":15.157374100719425,"personalization_improvement":0.7331},"median":{"personalized":16,"unpersonalized":12,"ground_truth":14,"personalization_improvement":0},"std_dev":{"personalized":0,"unpersonalized":0,"ground_truth":8.524586718203045,"personalization_improvement":0}},"word_length_stats":{"mean":{"personalized":4.1875,"unpersonalized":5.25,"ground_truth":4.468670643122896,"personalization_improvement":0.6401},"median":{"personalized":4,"unpersonalized":5,"ground_truth":4,"personalization_improvement":1},"std_dev":{"personalized":2.3242942477233814,"unpersonalized":2.520747243709029,"ground_truth":2.4604427259371198,"personalization_improvement":-0.5571}},"readability":{"flesch_reading_ease":{"unpersonalized":42.38,"personalized":63.7,"ground_truth":63.29,"personalization_improvement":0.9804},"flesch_kincaid_grade":{"unpersonalized":10.3,"personalized":8.4,"ground_truth":8.5,"personalization_improvement":0.9444}},"function_word_frequency":{"jensen_shannon_distance":{"personalized":0.6689444357441154,"unpersonalized":0.7306543651658907,"personalization_improvement":0.0845}},"pos_frequency":{"jensen_shannon_distance":{"personalized":0.45509363085996124,"unpersonalized":0.5559353944473231,"personalization_improvement":0.1814}},"lexical_density":{"personalized":0.5625,"unpersonalized":0.6666666666666666,"ground_truth":0.4917616488513553,"personalization_improvement":0.5956},"sentence_structure_frequency":{"simple":{"personalized":0,"unpersonalized":1,"ground_truth":0.4064748201438849},"compound":{"personalized":0,"unpersonalized":0,"ground_truth":0.030575539568345324},"complex":{"personalized":1,"unpersonalized":0,"ground_truth":0.5134892086330936},"compound-complex":{"personalized":0,"unpersonalized":0,"ground_truth":0.04946043165467626},"fragment/unknown":{"personalized":0,"unpersonalized":0,"ground_truth":0},"jensen_shannon_distance":{"personalized":0.45652139629164,"unpersonalized":0.519924367696954,"personalization_improvement":0.1219}},"sentence_voice_frequency":{"active":{"personalized":1,"unpersonalized":1,"ground_truth":0.9055755395683454},"passive":{"personalized":0,"unpersonalized":0,"ground_truth":0.09442446043165467},"jensen_shannon_distance":{"personalized":0.18410656144604748,"unpersonalized":0.18410656144604748,"personalization_improvement":0}},"punctuation":{"comma_density":{"personalized":0,"unpersonalized":0,"ground_truth":0.3713057495969909},"semicolon_density":{"personalized":0,"unpersonalized":0,"ground_truth":0.011821601289629231},"colon_density":{"personalized":0,"unpersonalized":0,"ground_truth":0.04674905964535196},"period_density":{"personalized":1,"unpersonalized":1,"ground_truth":0.5292853304674906},"question_mark_density":{"personalized":0,"unpersonalized":0,"ground_truth":0.030628694250403012},"exclamation_mark_density":{"personalized":0,"unpersonalized":0,"ground_truth":0.0016120365394948952},"parenthetical_density":{"personalized":0,"unpersonalized":0,"ground_truth":0.008597528210639442},"jensen_shannon_distance":{"personalized":0.4471617217138273,"unpersonalized":0.4471617217138273,"personalization_improvement":0}}}}}},"exampleType":"generated"}},"exampleType":"generated"},"0f78630e-7396-44e1-8e7f-8679f66cf82a":{"description":"Bad request. Possibly due to invalid input data.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message explaining the issue.","example":"Invalid input data.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid input data."}}},"exampleType":"generated"}},"exampleType":"generated"},"47a11aa9-b7f7-41c1-ac17-a3eaca4b0ea3":{"description":"Unauthorized. The request was missing authentication or contained invalid credentials.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message explaining the issue.","example":"Invalid API key.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid API key."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"8be0f8ea-14c5-4692-b78d-40e017676e53":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"c956820c-a757-4663-9ef4-d47e43fdc9f0":{"url":"https://vaeroapi.com/v1","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"vaero","siteName":"Vaero AI Style API","title":"Style transform - Vaero AI Style API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-01T23:47:21.118Z","originalFileLocation":"api-reference/styling/style-transform.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use fine-tuned model to style text.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vaero AI Style API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Style transform - Vaero AI Style API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use fine-tuned model to style text.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vaero AI Style API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vaero.co/api-reference/styling/style-transform\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vaero.mintlify.app/_mintlify/api/og/v2?division=Styling\u0026amp;title=Style+transform\u0026amp;description=Use+fine-tuned+model+to+style+text.\u0026amp;theme=5c7b8c63a2d91a662fe00b3e\u0026amp;signature=2e54a8d4e52a1e6062204ea1fbf4a7f30f3b20e14b43e7ce0d854206f3510f79\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Style transform - Vaero AI Style API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use fine-tuned model to style text.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vaero.mintlify.app/_mintlify/api/og/v2?division=Styling\u0026amp;title=Style+transform\u0026amp;description=Use+fine-tuned+model+to+style+text.\u0026amp;theme=5c7b8c63a2d91a662fe00b3e\u0026amp;signature=2e54a8d4e52a1e6062204ea1fbf4a7f30f3b20e14b43e7ce0d854206f3510f79\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vaero/JwlOwZFISyxndx1C/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vaero AI Style API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2B4FF3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vaero.co/api-reference/styling/style-transform\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/styling/style-transform.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vaero.co/#organization\",\"name\":\"Vaero AI Style API\",\"url\":\"https://docs.vaero.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vaero/r6BYlJMvZni7Gu_F/logo/vaero_logo.png?fit=max\u0026auto=format\u0026n=r6BYlJMvZni7Gu_F\u0026q=85\u0026s=79a6cbe3dd3f76311eeec327bfe7aafe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vaero.co#website\",\"name\":\"Vaero AI Style API\",\"url\":\"https://docs.vaero.co\",\"publisher\":{\"@id\":\"https://docs.vaero.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vaero.co/api-reference/styling/style-transform#webpage\",\"url\":\"https://docs.vaero.co/api-reference/styling/style-transform\",\"name\":\"Style transform\",\"description\":\"Use fine-tuned model to style text.\",\"dateModified\":\"2026-07-01T23:47:21.118Z\",\"isPartOf\":{\"@id\":\"https://docs.vaero.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vaero.co/api-reference/styling/style-transform#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vaero.co/api-reference/styling/style-transform#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Vaero AI Style API\",\"item\":\"https://docs.vaero.co\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Style transform\",\"item\":\"https://docs.vaero.co/api-reference/styling/style-transform\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vaero.co/api-reference/styling/style-transform#apireference\",\"headline\":\"Style transform\",\"name\":\"Style transform\",\"description\":\"Use fine-tuned model to style text.\",\"url\":\"https://docs.vaero.co/api-reference/styling/style-transform\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vaero.co/api-reference/styling/style-transform#webpage\"},\"dateModified\":\"2026-07-01T23:47:21.118Z\",\"publisher\":{\"@id\":\"https://docs.vaero.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vaero.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vaero AI Style API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Vaero AI Style API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /files","href":"/api-reference/files/list-files"},{"title":"Upload file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /files","href":"/api-reference/files/upload-file"},{"title":"Retrieve File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /files/{file_id}","href":"/api-reference/files/retrieve-file"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /files/{file_id}","href":"/api-reference/files/delete-file"},{"title":"Retrieve File Content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /files/{file_id}/content","href":"/api-reference/files/retrieve-file-content"}]},{"group":"Fine Tuning","pages":[{"title":"List fine-tuning jobs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /fine_tuning/jobs","href":"/api-reference/fine-tuning/list-fine-tuning-jobs"},{"title":"Create fine-tuning job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /fine_tuning/jobs","href":"/api-reference/fine-tuning/create-fine-tuning-job"},{"title":"Retrieve fine-tuning job","description":"Get info about a fine-tuning job by its ID.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /fine_tuning/jobs/{fine_tuning_job_id}","href":"/api-reference/fine-tuning/retrieve-fine-tuning-job"}]},{"group":"Styling","pages":[{"title":"Style transform","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /style/transform","href":"/api-reference/styling/style-transform"}]}]}]},"title":"Style transform - Vaero AI Style API","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}