[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-698664-105":59,"doc-detail-698664-en":130,"doc-similar-698664":254},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","llm-documentation-release-0372-2-project-overview","LLM documentation - Release 0.37.2-2 - Project overview","","LLM documentation for Release 0.37.2-2 (Nov 11, 2026) by Simon Willison. Covers quick start guidance, project news, environment setup steps, installation, upgrading, plugin installation, API key management, and model configuration. Explains usage workflows including prompt execution and interactive chat, model listing, and default model options. Details OpenAI and other model integrations, available tools and schema concepts, plus templates, fragments, embeddings, plugins, and the Python API.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/llm-documentation-release-0372-2-project-overview/698664/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/llm-documentation-release-0372-2-project-overview/698664.png","ImageObject",300,407,{"name":92,"@type":93},"McQueen","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-14","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What topics are covered in the quick start and setup sections?","Question",{"text":112,"@type":113},"The document provides quick start guidance and setup steps including installation, upgrading, using uvx, and notes on Homebrew and PyTorch, along with plugin installation, API key management, and configuration.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the documentation describe using prompts and running interactive chats?",{"text":117,"@type":113},"It explains executing a prompt, starting an interactive chat, listing available models, and setting default options for models to control behavior.",{"name":119,"@type":110,"acceptedAnswer":120},"What are the key building blocks for extending functionality, such as tools, schemas, templates, and plugins?",{"text":121,"@type":113},"It outlines how tools work and how to implement them, introduces schemas and JSON schema usage, describes templates and fragments, and covers installing and developing plugins, including the Python API for integration.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},698664,1794454353,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},5909890329169,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","LLM documentation  \nRelease 0.37.2-2-g8b475ff  \nSimon Willison  \nNov 11, 2026  \nCONTENTS  \n1 Quick start 3  \n2 Project news 5  \n3 Contents 7  \n3.1 Setup ................................................... 7  \n3.1. 1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7  \n3.1.2 Upgrading to the latest version ................................. 7  \n3.1.3 Using uvx ............................................ 8  \n3.1.4 A note about Homebrew and PyTorch ............................. 8  \n3.1.5 Installing plugins ........................................ 8  \n3.1.6 API key management ...................................... 9  \n3.1.7 Configuration .......................................... 10  \n3.2 Usage ................................................... 11  \n3.2.1 Executing a prompt ....................................... 11  \n3.2.2 Starting an interactive chat ................................... 20  \n3.2.3 Listing available models .................................... 22  \n3.2.4 Setting default options for models ............................... 39  \n3.3 OpenAI models .............................................. 39  \n3.3.1 Configuration .......................................... 40  \n3.3.2 OpenAI language models .................................... 40  \n3.3.3 Model features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  \n3.3.4 Web Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  \n3.3.5 Code Interpreter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  \n3.3.6 Fast mode and service tiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  \n3.3.7 OpenAI embedding models ................................... 43  \n3.3.8 OpenAI completion models ................................... 44  \n3.3.9 Adding more OpenAI models .................................. 44  \n3.4 Other models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45  \n3.4.1 Installing and using a local model ............................... 45  \n3.4.2 OpenAI-compatible models ................................... 45  \n3.5 Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50  \n3.5. 1 How tools work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50  \n3.5.2 Trying out tools ......................................... 51  \n3.5.3 LLM’s implementation of tools ................................. 51  \n3.5.4 Default tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52  \n3.5.5 Tips for implementing tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52  \n3.6 Schemas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52  \n3.6. 1 Schemas tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52  \n3.6.2 Using JSON schemas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60  \n3.6.3 Ways to specify a schema .................................... 61  \n3.6.4 Concise LLM schema syntax .................................. 62  \n3.6.5 Saving reusable schemas in templates ............................. 63  \n3.6.6 Browsing logged JSON objects created using schemas .................... 63  \n3.7 Templates ................................................. 65  \n3.7.1 Getting started with –save ................................... 65  \n3.7.2 Using a template ........................................ 66  \n3.7.3 Listing available templates ................................... 66  \n3.7.4 Templates as YAML files .................................... 67  \n3.7.5 Template loaders from plugins ................................. 71  \n3.8 Fragments ................................................ 72  \n3.8.1 Using fragments in a prompt ..........","cbCairGjpwduEU8p","https://ap.wps.com/l/cbCairGjpwduEU8p","pdf",934231,239,"English","# Quick start\n# Project news\n# Setup\n## Installation\n## Upgrading to the latest version\n## Using uvx\n## A note about Homebrew and PyTorch\n## Installing plugins\n## API key management\n## Configuration\n# Usage\n## Executing a prompt\n## Starting an interactive chat\n## Listing available models\n## Setting default options for models\n# OpenAI models\n## Configuration\n## OpenAI language models\n## Model features\n## Web Search\n## Code Interpreter\n## Fast mode and service tiers\n## OpenAI embedding models\n## OpenAI completion models\n## Adding more OpenAI models\n# Other models\n## Installing and using a local model\n## OpenAI-compatible models\n# Tools\n## How tools work\n## Trying out tools\n## LLM’s implementation of tools\n## Default tools\n## Tips for implementing tools\n# Schemas\n## Schemas tutorial\n## Using JSON schemas\n## Ways to specify a schema\n## Concise LLM schema syntax\n## Saving reusable schemas in templates\n## Browsing logged JSON objects created using schemas\n# Templates\n## Getting started with –save\n## Using a template\n## Listing available templates\n## Templates as YAML files\n## Template loaders from plugins\n# Fragments\n## Using fragments in a prompt\n## Using fragments in chat\n## Browsing fragments\n## Setting aliases for fragments\n## Viewing fragments in your logs\n## Using fragments from plugins\n## Listing available fragment prefixes\n# Model aliases\n## Listing aliases\n## Adding a new alias\n## Removing an alias\n## Viewing the aliases file\n# Embeddings\n## Embedding with the CLI\n## Using embeddings from Python\n## Writing plugins to add new embedding models\n## Embedding storage format\n# Plugins\n## Installing plugins\n## Plugin directory\n## Plugin hooks\n## Developing a model plugin\n## Advanced model plugins\n## Utility functions for plugins\n# Python API\n## Basic prompt execution\n## Async models\n## Conversations","[{\"question\":\"What topics are covered in the quick start and setup sections?\",\"answer\":\"The document provides quick start guidance and setup steps including installation, upgrading, using uvx, and notes on Homebrew and PyTorch, along with plugin installation, API key management, and configuration.\"},{\"question\":\"How does the documentation describe using prompts and running interactive chats?\",\"answer\":\"It explains executing a prompt, starting an interactive chat, listing available models, and setting default options for models to control behavior.\"},{\"question\":\"What are the key building blocks for extending functionality, such as tools, schemas, templates, and plugins?\",\"answer\":\"It outlines how tools work and how to implement them, introduces schemas and JSON schema usage, describes templates and fragments, and covers installing and developing plugins, including the Python API for integration.\"}]","LLM documentation - Release 0.37.2-2 - Project overview | PDF",602,24,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212,217,222,227,231,235,240,245,250],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/01616aafb1f0ff4f49347d10700f1738.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/311e83ff337cb448a5ddfa161e767804.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/f380bb8bdc2aa37b28564b82dd79c77e.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/c13034d564364687d34528723cb1fc91.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/37165505bfc3387378da9f88389622cc.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/379bf47d69faf33caa41d9c13ffe847e.webp",978,1265,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e9aefbb55cf9ea65ad7d3a1fb90a8b2f.webp",977,1264,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/fe49fc9ccc4ab80a2504941665b51a35.webp",976,1263,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/3106198de6ba7f500c62c51d59926c78.webp",975,1261,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/6cd3d8c947031588e63c888bc6a16d4b.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2642880f2496efcfc7d8626c2e435efe.webp",973,1259,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/0563b418c079dd01fa61107034c5ea84.webp",972,1257,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/375f06d73e8ed339360c4d1bc38a0873.webp",971,1256,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/7ef2a376de33c0d595d6e450ca625750.webp",970,1255,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/97f54c6a745bc0c17617b96adcdae9e3.webp",969,1254,{"page_no":213,"url":214,"width":215,"height":216},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/134f9143b25ec1a56e61afb625ca08be.webp",968,1252,{"page_no":218,"url":219,"width":220,"height":221},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/8b68b1d6750fe451d9d0c4ee6f69c309.webp",967,1251,{"page_no":223,"url":224,"width":225,"height":226},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/014dc7f5a0595f5d14623d3987e5c7c8.webp",966,1250,{"page_no":56,"url":228,"width":229,"height":230},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/2d29bf7ca3581974be007fa9ced53767.webp",965,1248,{"page_no":46,"url":232,"width":233,"height":234},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/03b5587f62732c93cc0a8be039cb93eb.webp",964,1247,{"page_no":236,"url":237,"width":238,"height":239},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b51e19216f72ec37423f68d0095125e9.webp",963,1246,{"page_no":241,"url":242,"width":243,"height":244},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/0fcc162ab5251c5881d6ed8afefa69dc.webp",962,1245,{"page_no":246,"url":247,"width":248,"height":249},23,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/9299a95fa1a312201c4e3c141aaf6600.webp",961,1243,{"page_no":145,"url":251,"width":252,"height":253},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/e34dfc97d17d0c0365e95700a43e130a.webp",960,1242,{"list":255,"token":66},[256,262,268,274,280,286,292,298,304,310],{"doc_id":257,"doc_title":258,"file_type":137,"home_preview_img_url":259,"slug":260,"view_count":19,"category_name":30,"create_tm":261},697777,"Oracle Fusion Field Service Mobile Plugin Framework - Plugin API","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010093391/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=6WlxPggMYT1gXrQ1D0Eq5dJqtEc%3D","oracle-fusion-field-service-mobile-plugin-framework-plugin-api",1794444196,{"doc_id":263,"doc_title":264,"file_type":137,"home_preview_img_url":265,"slug":266,"view_count":188,"category_name":30,"create_tm":267},672785,"COMP 10261 - The OpenAI Chat Completion API","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229989617427/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=rG1Fy9qmSpdA%2Flp%2FhBw%2BfCb8tyY%3D","comp-10261-the-openai-chat-completion-api",1793608150,{"doc_id":269,"doc_title":270,"file_type":137,"home_preview_img_url":271,"slug":272,"view_count":24,"category_name":30,"create_tm":273},686335,"PolyULib DS Guide - Ollama Local LLM","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000731483/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=JFgstazXhaMCkhLs6xl9%2F0ct4ow%3D","polyulib-ds-guide-ollama-local-llm",1794037342,{"doc_id":275,"doc_title":276,"file_type":137,"home_preview_img_url":277,"slug":278,"view_count":34,"category_name":30,"create_tm":279},686339,"Unified Interface for Large Language Model Interactions - Version 1.0.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999818307/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=ZKSwsrMPMbM0Z69b9OGilS19MyM%3D","unified-interface-for-large-language-model-interactions-version-100",1794037349,{"doc_id":281,"doc_title":282,"file_type":137,"home_preview_img_url":283,"slug":284,"view_count":81,"category_name":30,"create_tm":285},671138,"Magento_Integration_Guide - v1.3 - Integration guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988712929/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=eBHLfTK38hN%2F7WZkjHokG7cXr4g%3D","magento_integration_guide-v13-integration-guide",1793574458,{"doc_id":287,"doc_title":288,"file_type":137,"home_preview_img_url":289,"slug":290,"view_count":19,"category_name":30,"create_tm":291},699635,"WordPress-Gutenberg-Ultimate-Guide - The Gutenberg Editor","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011400235/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=V1u33C6JdYTTMEDphKSMrysCrg4%3D","wordpress-gutenberg-ultimate-guide-the-gutenberg-editor",1794483761,{"doc_id":293,"doc_title":294,"file_type":137,"home_preview_img_url":295,"slug":296,"view_count":81,"category_name":30,"create_tm":297},701586,"LLM Service TokenHub AI Tools Integration - CodeBuddy Code - Integration Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011610026/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=1uVPp93nzLnGSqG5%2Fr%2FF64wcP9E%3D","llm-service-tokenhub-ai-tools-integration-codebuddy-code-integration-guide",1794533422,{"doc_id":299,"doc_title":300,"file_type":137,"home_preview_img_url":301,"slug":302,"view_count":218,"category_name":30,"create_tm":303},469190,"FullStackDevelopment-DevOps - AI & Machine Learning Curriculum","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926309706/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=P%2BgUrUqyLbE43jndkYnFTutTNPQ%3D","fullstackdevelopment-devops-ai-machine-learning-curriculum",1790775230,{"doc_id":305,"doc_title":306,"file_type":137,"home_preview_img_url":307,"slug":308,"view_count":188,"category_name":30,"create_tm":309},686342,"Ollama + WebUI Frameworks - How to implement Generative AI Models - Implementation Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999818329/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=Yd6%2BSTuKaIia9seBuVzmdJ0KWbI%3D","ollama-webui-frameworks-how-to-implement-generative-ai-models-implementation-guide",1794037354,{"doc_id":311,"doc_title":312,"file_type":137,"home_preview_img_url":313,"slug":314,"view_count":19,"category_name":30,"create_tm":315},687909,"Keystation 61 MK3 - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001265378/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=xKLpUUBLYQ07bfRmLg8inQao%2FlM%3D","keystation-61-mk3-user-guide",1794085436]