[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-02。"],[],[],null,["# Utilizing pretrained LLM\n\nThis page describes how to use a textual large-language model (LLM) in the custom recommendation models. We train these models for you. You can enable the pretrained features in the [custom recommendation models](/retail/docs/models).\n\nRecommendations uses the product [`description`](/retail/docs/reference/rest/v2/projects.locations.catalogs.branches.products#Product.FIELDS.description) field to feed to LLMs and put them into your recommendations models.\n| **Note:** Creating and configuring models is only available for recommendations.\n\nNew LLM textual features\n------------------------\n\nWhile it's possible to get text embeddings by [manually configuring a Vertex AI generative model](/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings#get_text_embeddings_for_a_snippet_of_text), you might want to integrate the new LLM capabilities into your recommendations models to improve performance.\n\nThe text embeddings are more descriptive, longer, and are not repetitive, as well as have multilingual interpretation capabilities. This feature is based on an allowlist. Contact support for enabling this feature.\n\nThere's no charge for using the text embeddings and they are included in Vertex AI Search [pricing](/retail/docs/pricing).\n\nThe LLM-pretrained embeddings improve semantic understanding of long form text searches such as descriptions.\n\nSee the following resources for more information on how to use embeddings and generative AI alone in your own custom ML training:\n\n- [Vertex AI generative AI documentation](/retail/../generative-ai-app-builder/docs/about-checklists)\n- [Machine Learning Crash Course: Embeddings](https://developers.google.com/machine-learning/crash-course/embeddings)\n\nModel compatibility\n-------------------\n\nThe LLM feature is compatible with all ml model types and objectives, including:\n\n- OYML\n- FBT\n- and more.\n\nFor more information on the different types of recommendation models Vertex AI Search for commerce supports, see [About recommendations models](/retail/docs/models)."]]