[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"footer-description":3,"header-nav":5,"footer-primary":157,"footer-secondary":234,"header-nav-data":260,"github-stars":262,"stability-ai":366,"8f849cd0-a47b-4e32-bb19-b478973c90f7":416,"dfd79d2b-7af5-4cdb-aa94-3f73de97ebd8":422,"74634853-196b-4ce3-b256-4534c054838f":429,"site-banner":458,"9df3f40e-6272-4ec6-a0d7-cc29265e087c":462,"358b0659-1f05-4427-bd1c-4bc03a43c182":468,"1b444c23-b593-4391-9410-4ca5d2c7a7cb":473},{"description":4},"\u003Cp>A composable backend to build your Headless CMS, BaaS, and more.&nbsp;\u003C/p>",{"items":6},[7,76,138,143,150],{"id":8,"title":9,"url":10,"callout":11,"callout_title":12,"children_title":13,"page":10,"children":14},"62c04c6c-5793-4702-8ed1-73dd563fd605","Product",null,"8f849cd0-a47b-4e32-bb19-b478973c90f7","Project Showcase","Use Cases and Features",[15,23,31,39,45,53,61,69],{"id":16,"title":17,"url":18,"description":19,"image":10,"icon":20,"page":21},"e7d7d5ed-89b1-4455-8b4a-8ae92c70e3a0","Headless CMS","/solutions/headless-cms/","Manage and deliver content with ease","code_blocks",{"permalink":22},"/solutions/headless-cms",{"id":24,"title":25,"url":26,"description":27,"image":10,"icon":28,"page":29},"60bdefd9-95e6-45a3-9f81-4748d07c59d3","Backend-as-a-Service","/solutions/backend-as-a-service/","Build and ship applications faster","speed",{"permalink":30},"/solutions/backend-as-a-service",{"id":32,"title":33,"url":34,"description":35,"image":10,"icon":36,"page":37},"5f9aebeb-4f89-445e-9850-5b1261a2743c","Headless Commerce","/solutions/product-information-management/","A single source of truth for products","shopping_cart_checkout",{"permalink":38},"/solutions/product-information-management",{"id":40,"title":41,"url":42,"description":43,"image":10,"icon":44,"page":10},"49e46134-80be-470e-8c73-afb1417fa9b6","100+ More Use Cases","https://directus.io/blog/100-tools-apps-and-platforms-you-can-build-with-directus","Build anything (or everything)","lightbulb",{"id":46,"title":47,"url":48,"description":49,"image":10,"icon":50,"page":51},"a589ac77-a5ce-45c5-a054-e43111e19158","Instant APIs","/products/connect/","Connect a database, get REST + GraphQL APIs","api",{"permalink":52},"/toolkit/connect",{"id":54,"title":55,"url":56,"description":57,"image":10,"icon":58,"page":59},"4a0f129a-c546-4493-b0a9-306e51692e90","Granular Policy-Based Auth","/products/auth/","Provide secure, autonomous data access","lock_person",{"permalink":60},"/toolkit/auth",{"id":62,"title":63,"url":64,"description":65,"image":10,"icon":66,"page":67},"f9250f2c-93a4-4108-80db-011bbe391ecf","Visual Automation Builder","/products/automate/","Automate content and data workflows with ease","build",{"permalink":68},"/toolkit/automate",{"id":70,"title":71,"url":10,"description":72,"image":10,"icon":73,"page":74},"f1ae4e40-5b05-42a4-9cd3-33dda35cc939","50+ More Features","Get everything you need out-of-the-box","auto_fix",{"permalink":75},"/features",{"id":77,"title":78,"url":10,"callout":79,"callout_title":80,"children_title":81,"page":10,"children":82},"2f6ad0d1-6dd3-4f17-b5c8-9f2abf71409a","Resources","dfd79d2b-7af5-4cdb-aa94-3f73de97ebd8","Watch Directus TV","Learn More",[83,90,98,104,111,118,124,131],{"id":84,"title":85,"url":86,"description":87,"image":10,"icon":88,"page":89},"0a3bf9f5-1ef2-43f4-bc09-7ff7488241c5","Blog","/blog","Read our latest articles and guides","library_books",{"permalink":86},{"id":91,"title":92,"url":93,"description":94,"image":10,"icon":95,"page":96},"165e3dc2-e51b-4456-8382-99c5775b0412","Case Studies","#","Case studies and success stories","magic_button",{"permalink":97},"/case-studies",{"id":99,"title":100,"url":101,"description":102,"image":10,"icon":103,"page":10},"5ae324b6-bf44-4c21-95ad-e6dc0c1c1f40","Community Forum","https://community.directus.io/","Questions and conversations","comment",{"id":105,"title":106,"url":93,"description":107,"image":10,"icon":108,"page":109},"b1db03f0-e537-490e-8c0f-c61c401d1024","Agency Directory","Browse our list of agency partners ","handshake",{"permalink":110},"/agency-directory",{"id":112,"title":113,"url":114,"description":115,"image":10,"icon":116,"page":117},"991731c8-eb40-4eec-85a5-6e977bcd7ec9","About Us","/about","Learn more about Directus and the team","supervised_user_circle",{"permalink":114},{"id":119,"title":120,"url":121,"description":122,"image":10,"icon":123,"page":10},"52aebf38-b3ad-4a27-807d-ce52398cd509","Wall of Love","https://testimonial.to/directus/all","See what others are saying about us","heart_plus",{"id":125,"title":126,"url":93,"description":127,"image":10,"icon":128,"page":129},"a86eca65-d5ae-4263-b7d9-4f1a1c50a0b1","Contact","Have a general inquiry or question for us?","mark_email_unread",{"permalink":130},"/contact",{"id":132,"title":133,"url":10,"description":134,"image":10,"icon":135,"page":136},"28225825-8d41-4809-9032-192fbf5c6e5d","Support","Reach out to Directus support","support",{"permalink":137},"/support",{"id":139,"title":140,"url":141,"callout":10,"callout_title":10,"children_title":10,"page":10,"children":142},"a3f1275d-b088-4b11-99bf-143fcbf39104","Developers","/docs",[],{"id":144,"title":145,"url":146,"callout":10,"callout_title":10,"children_title":10,"page":147,"children":149},"fae8fded-d2e2-468e-a68b-82abec7a7225","Enterprise","/solutions/enterprise/",{"permalink":148},"/solutions/enterprise",[],{"id":151,"title":152,"url":153,"callout":10,"callout_title":10,"children_title":10,"page":154,"children":156},"5c5e2fbc-49fd-4e41-a71e-e4f8db2b00cf","Pricing","/pricing/",{"permalink":155},"/pricing/self-hosted",[],{"items":158},[159,176,195,214],{"id":160,"title":161,"url":10,"page":10,"children":162},"522e608a-77b0-4333-820d-d4f44be2ade1","Solutions",[163,166,169,173],{"id":164,"title":17,"url":10,"page":165},"fcafe85a-a798-4710-9e7a-776fe413aae5",{"permalink":22},{"id":167,"title":25,"url":10,"page":168},"79972923-93cf-4777-9e32-5c9b0315fc10",{"permalink":30},{"id":170,"title":171,"url":10,"page":172},"0fa8d0c1-7b64-4f6f-939d-d7fdb99fc407","Product Information",{"permalink":38},{"id":174,"title":175,"url":42,"page":10},"63946d54-6052-4780-8ff4-91f5a9931dcc","100+ Things to Build",{"id":177,"title":78,"url":10,"page":10,"children":178},"8ab4f9b1-f3e2-44d6-919b-011d91fe072f",[179,183,187,191],{"id":180,"title":181,"url":182,"page":10},"f951fb84-8777-4b84-9e91-996fe9d25483","Documentation","https://docs.directus.io",{"id":184,"title":185,"url":186,"page":10},"366febc7-a538-4c08-a326-e6204957f1e3","Guides","https://docs.directus.io/guides/",{"id":188,"title":189,"url":190,"page":10},"aeb9128e-1c5f-417f-863c-2449416433cd","Community","https://directus.chat",{"id":192,"title":193,"url":194,"page":10},"da1c2ed8-0a77-49b0-a903-49c56cb07de5","Release Notes","https://github.com/directus/directus/releases",{"id":196,"title":133,"url":10,"page":10,"children":197},"d61fae8c-7502-494a-822f-19ecff3d0256",[198,202,206,210],{"id":199,"title":200,"url":201,"page":10},"8c43c781-7ebd-475f-a931-747e293c0a88","Issue Tracker","https://github.com/directus/directus/issues",{"id":203,"title":204,"url":205,"page":10},"d77bb78e-cf7b-4e01-932a-514414ba49d3","Feature Requests","https://github.com/directus/directus/discussions?discussions_q=is:open+sort:top",{"id":207,"title":208,"url":209,"page":10},"4346be2b-2c53-476e-b53b-becacec626a6","Community Chat","https://discord.com/channels/725371605378924594/741317677397704757",{"id":211,"title":212,"url":213,"page":10},"26c115d2-49f7-4edc-935e-d37d427fb89d","Cloud Dashboard","https://directus.cloud",{"id":215,"title":216,"url":10,"page":10,"children":217},"49141403-4f20-44ac-8453-25ace1265812","Organization",[218,222,227,231],{"id":219,"title":220,"url":114,"page":221},"1f36ea92-8a5e-47c8-914c-9822a8b9538a","About",{"permalink":114},{"id":223,"title":224,"url":93,"page":225},"b84bf525-5471-4b14-a93c-225f6c386005","Careers",{"permalink":226},"/careers",{"id":228,"title":229,"url":230,"page":10},"86aabc3a-433d-434b-9efa-ad1d34be0a34","Brand Assets","https://drive.google.com/drive/folders/1lBOTba4RaA5ikqOn8Ewo4RYzD0XcymG9?usp=sharing",{"id":232,"title":126,"url":10,"page":233},"8d2fa1e3-198e-4405-81e1-2ceb858bc237",{"permalink":130},{"items":235},[236,242,248,254],{"id":237,"title":238,"url":10,"page":239,"children":241},"8a1b7bfa-429d-4ffc-a650-2a5fdcf356da","Cloud Policies",{"permalink":240},"/cloud-policies",[],{"id":243,"title":244,"url":93,"page":245,"children":247},"bea848ef-828f-4306-8017-6b00ec5d4a0c","License",{"permalink":246},"/bsl",[],{"id":249,"title":250,"url":93,"page":251,"children":253},"4e914f47-4bee-42b7-b445-3119ee4196ef","Terms",{"permalink":252},"/terms",[],{"id":255,"title":256,"url":93,"page":257,"children":259},"ea69eda6-d317-4981-8421-fcabb1826bfd","Privacy",{"permalink":258},"/privacy",[],{"header_cta_buttons":261},"74634853-196b-4ce3-b256-4534c054838f",{"id":263,"node_id":264,"name":265,"full_name":266,"private":267,"owner":268,"html_url":285,"description":286,"fork":267,"url":287,"forks_url":288,"keys_url":289,"collaborators_url":290,"teams_url":291,"hooks_url":292,"issue_events_url":293,"events_url":294,"assignees_url":295,"branches_url":296,"tags_url":297,"blobs_url":298,"git_tags_url":299,"git_refs_url":300,"trees_url":301,"statuses_url":302,"languages_url":303,"stargazers_url":304,"contributors_url":305,"subscribers_url":306,"subscription_url":307,"commits_url":308,"git_commits_url":309,"comments_url":310,"issue_comment_url":311,"contents_url":312,"compare_url":313,"merges_url":314,"archive_url":315,"downloads_url":316,"issues_url":317,"pulls_url":318,"milestones_url":319,"notifications_url":320,"labels_url":321,"releases_url":322,"deployments_url":323,"created_at":324,"updated_at":325,"pushed_at":326,"git_url":327,"ssh_url":328,"clone_url":329,"svn_url":285,"homepage":330,"size":331,"stargazers_count":332,"watchers_count":332,"language":333,"has_issues":334,"has_projects":334,"has_downloads":334,"has_wiki":267,"has_pages":267,"has_discussions":334,"forks_count":335,"mirror_url":10,"archived":267,"disabled":267,"open_issues_count":336,"license":337,"allow_forking":334,"is_template":267,"web_commit_signoff_required":267,"has_pull_requests":334,"pull_request_creation_policy":342,"topics":343,"visibility":284,"forks":335,"open_issues":336,"watchers":332,"default_branch":362,"temp_clone_token":10,"custom_properties":363,"organization":364,"network_count":335,"subscribers_count":365},7122594,"MDEwOlJlcG9zaXRvcnk3MTIyNTk0","directus","directus/directus",false,{"login":265,"id":269,"node_id":270,"avatar_url":271,"gravatar_id":272,"url":273,"html_url":274,"followers_url":275,"following_url":276,"gists_url":277,"starred_url":278,"subscriptions_url":279,"organizations_url":280,"repos_url":281,"events_url":282,"received_events_url":283,"type":216,"user_view_type":284,"site_admin":267},15967950,"MDEyOk9yZ2FuaXphdGlvbjE1OTY3OTUw","https://avatars.githubusercontent.com/u/15967950?v=4","","https://api.github.com/users/directus","https://github.com/directus","https://api.github.com/users/directus/followers","https://api.github.com/users/directus/following{/other_user}","https://api.github.com/users/directus/gists{/gist_id}","https://api.github.com/users/directus/starred{/owner}{/repo}","https://api.github.com/users/directus/subscriptions","https://api.github.com/users/directus/orgs","https://api.github.com/users/directus/repos","https://api.github.com/users/directus/events{/privacy}","https://api.github.com/users/directus/received_events","public","https://github.com/directus/directus","The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.","https://api.github.com/repos/directus/directus","https://api.github.com/repos/directus/directus/forks","https://api.github.com/repos/directus/directus/keys{/key_id}","https://api.github.com/repos/directus/directus/collaborators{/collaborator}","https://api.github.com/repos/directus/directus/teams","https://api.github.com/repos/directus/directus/hooks","https://api.github.com/repos/directus/directus/issues/events{/number}","https://api.github.com/repos/directus/directus/events","https://api.github.com/repos/directus/directus/assignees{/user}","https://api.github.com/repos/directus/directus/branches{/branch}","https://api.github.com/repos/directus/directus/tags","https://api.github.com/repos/directus/directus/git/blobs{/sha}","https://api.github.com/repos/directus/directus/git/tags{/sha}","https://api.github.com/repos/directus/directus/git/refs{/sha}","https://api.github.com/repos/directus/directus/git/trees{/sha}","https://api.github.com/repos/directus/directus/statuses/{sha}","https://api.github.com/repos/directus/directus/languages","https://api.github.com/repos/directus/directus/stargazers","https://api.github.com/repos/directus/directus/contributors","https://api.github.com/repos/directus/directus/subscribers","https://api.github.com/repos/directus/directus/subscription","https://api.github.com/repos/directus/directus/commits{/sha}","https://api.github.com/repos/directus/directus/git/commits{/sha}","https://api.github.com/repos/directus/directus/comments{/number}","https://api.github.com/repos/directus/directus/issues/comments{/number}","https://api.github.com/repos/directus/directus/contents/{+path}","https://api.github.com/repos/directus/directus/compare/{base}...{head}","https://api.github.com/repos/directus/directus/merges","https://api.github.com/repos/directus/directus/{archive_format}{/ref}","https://api.github.com/repos/directus/directus/downloads","https://api.github.com/repos/directus/directus/issues{/number}","https://api.github.com/repos/directus/directus/pulls{/number}","https://api.github.com/repos/directus/directus/milestones{/number}","https://api.github.com/repos/directus/directus/notifications{?since,all,participating}","https://api.github.com/repos/directus/directus/labels{/name}","https://api.github.com/repos/directus/directus/releases{/id}","https://api.github.com/repos/directus/directus/deployments","2012-12-12T01:35:36Z","2026-04-15T04:20:19Z","2026-04-14T21:58:02Z","git://github.com/directus/directus.git","git@github.com:directus/directus.git","https://github.com/directus/directus.git","https://directus.io",439603,34792,"TypeScript",true,4701,388,{"key":338,"name":339,"spdx_id":340,"url":10,"node_id":341},"other","Other","NOASSERTION","MDc6TGljZW5zZTA=","all",[50,344,345,346,347,348,265,349,350,351,352,353,354,355,356,357,358,359,360,361],"app","cms","composable","data-visualization","database","graphql","headless-cms","javascript","mariadb","mssql","mysql","no-code","node","postgresql","sql","sqlite","typescript","vue","main",{},{"login":265,"id":269,"node_id":270,"avatar_url":271,"gravatar_id":272,"url":273,"html_url":274,"followers_url":275,"following_url":276,"gists_url":277,"starred_url":278,"subscriptions_url":279,"organizations_url":280,"repos_url":281,"events_url":282,"received_events_url":283,"type":216,"user_view_type":284,"site_admin":267},327,{"metadata":10,"logo":367,"helpful_resources":368,"extensions":372,"date_updated":375,"user_updated":376,"date_created":377,"user_created":378,"sort":10,"id":379,"content":380,"website":381,"status":382,"category":383,"description":384,"slug":385,"name":386,"external_resources":387,"extensionDetails":388},"ef3caa34-3f8a-454b-be3e-334f45cb84c9",[369],{"title":370,"url":371},"Stability AI Documentation","https://platform.stability.ai/docs",[373,374],"directus-extension-ai-operation-bundle","directus-extension-ai-sdk-bundle","2025-07-30T17:39:15.102Z","1a9ab95a-93bc-4908-af85-0d42bb6e6aa6","2025-07-11T14:29:17.266Z","1cd0a355-b103-477d-9375-61e88f3110f8","0f5d5bdc-75e7-4c98-9afd-00053c9e2aba","\u003Cp>Stability AI is a leader in generative artificial intelligence, providing advanced models for creating images and other creative content. Their technology is widely used for tasks like image generation, enhancement, and automated content creation.\u003C/p>\n\u003Cp>In the context of data and content workflows, integrating Stability AI with Directus lets you automatically generate visual assets and creative content directly within your data platform.&nbsp;\u003C/p>\n\u003Cp>With available extensions like the AI Operation Bundle and the AI SDK Bundle, you can set up processes that trigger image generation or creative tasks as part of your content pipeline. This means you can enrich your datasets with AI-generated images, automate content updates, or even create new assets on demand&mdash;all without leaving the Directus environment.\u003C/p>\n\u003Cp>For teams managing large content libraries or needing fast, scalable image creation, Stability AI&rsquo;s tools make it simple to add high-quality visuals to your data-driven projects.\u003C/p>\n\u003Cp>Whether you&rsquo;re building a CMS, powering a marketplace, or running digital campaigns, these integrations help keep your creative assets fresh and relevant, all from within Directus.\u003C/p>","https://stability.ai","published","AI","Generate images and creative content using Stability AI's powerful generative models","stability-ai","Stability AI",[],[389],{"description":390,"featured_image":391,"formatted_description":392,"formatted_name":393,"host_version":394,"id":395,"images":396,"last_updated":404,"license":405,"name":373,"published_at":406,"publisher":407,"readme":410,"recent_downloads_30_days":411,"recent_downloads_7_days":412,"repository_url":413,"sandbox":267,"total_downloads":414,"type":415},"A small bundle of Flow Operations which enable interaction with the [OpenAI](https://beta.openai.com/overview) and [Stability](https://stability.ai/) API's.","https://raw.githubusercontent.com/br41nslug/directus-extension-ai-pack/main/examples/stable-diffusion-demo.gif","A small bundle of Flow Operations which enable interaction with the OpenAI and Stability API's.","AI Operation Bundle","^9.26.0","cb4ffa8a-58e8-4052-9af4-83648bd1502b",[391,397,398,399,400,401,402,403],"https://raw.githubusercontent.com/br41nslug/directus-extension-ai-pack/main/examples/stable-diffusion-config.png","https://raw.githubusercontent.com/br41nslug/directus-extension-ai-pack/main/examples/dall-e-demo.gif","https://raw.githubusercontent.com/br41nslug/directus-extension-ai-pack/main/examples/dall-e-config.png","https://raw.githubusercontent.com/br41nslug/directus-extension-ai-pack/main/examples/davinci-demo.gif","https://raw.githubusercontent.com/br41nslug/directus-extension-ai-pack/main/examples/davinci-config.png","https://raw.githubusercontent.com/br41nslug/directus-extension-ai-pack/main/examples/chatgpt_demo.gif","https://raw.githubusercontent.com/br41nslug/directus-extension-ai-pack/main/examples/global-configuration.png",1732820301,"MIT",1673125851,{"id":408,"username":409,"verified":334},"ab487166-f95d-4454-9f6c-5f1a58d57f3c","brainslug","# Directus AI Operations Bundle\n\nA small bundle of Flow Operations which enable interaction with the [OpenAI](https://beta.openai.com/overview) and [Stability](https://stability.ai/) API's.\n\n> Note: To use these you will need an API Key for the respective services.\n\n> Tested with Directus 11.2.2\n\n## Installation\n\nThe package is published to npm:\n`npm install directus-extension-ai-operation-bundle`\n\n**Manual Installation**\n- Download or fork the repository\n- Install the requirements\\\n  `npm install`\n- Build the extension\\\n  `npm run build`\n- Move the entire project to your extension folder (only the `package.json` and `dist` folder are strictly necessary)\\\n  `mv ./ extensions/directus-extension-ai-operation-bundle`\n- Restart your Directus instance\n\n## Bundle Content\n\n### Stable Diffusion Operation\n\nThis operation allow you generate images from text using the Stable Diffusion models with the [Stability.ai API](https://platform.stability.ai/) taking a `prompt` as input and saves the resulting image to the file library returning its ID as output.\n\n![Demo](examples/stable-diffusion-demo.gif)\n\n**Output**\\\nAn object containing the ID of the resulting image file.\n```json\n{ \"id\": \"[UUID]\" }\n```\n\n**Configuration Options**\\\nI am by no means an expert in what any of these model specific settings do so please check out the [stability docs](https://api.stability.ai/docs) for that.\n1. `Prompt` This is the main text input used for generating the image.\n2. `Width` Width of the image (note: height * width must be \u003C= 1 Megapixel)\n3. `Height` Height of the image (note: height * width must be \u003C= 1 Megapixel)\n4. `CFG Scale` How strictly the diffusion process adheres to the prompt text (higher values keep your image closer to your prompt)\n5. `Steps` Number of diffusion steps to run\n6. `Engine` The model to be used (defined choices can be found in [src/lib/constants.js](src/lib/constants.js)\n7. `API Key Override` Used to set an API Key to be used specificly on this operation.\n\n![config](examples/stable-diffusion-config.png)\n\n### DALL-E Operation\n\nSimilar to the Stable Diffusion operation this allows you to generate images from text but using the OpenAI DALL-E models instead with the [OpenAI API](https://beta.openai.com/docs/guides/images) taking a `prompt` as input, optionally saves it to the local file library and returning both the original URL and local image file ID.\n![Demo](examples/dall-e-demo.gif)\n\n**Output**\\\nAn object containing the ID(s) and URL(s) of the resulting image file(s).\nFor a single result:\n```json\n{ \"url\": \"https://some.url\", \"id\": \"[UUID]\" }\n```\nFor multiple results:\n```json\n{ \"url\": [\"https://some.url\",\"https://some.other.url\"], \"id\": [\"[UUID]\",\"[UUID]\"] }\n```\n\n**Configuration Options**\n1. `Prompt` This is the main text input used for generating the image.\n2. `Save To File Library` Disable importing the image into the local storage allowing you to use the DALL-E result URL for other systems.\n3. `Number of pictures` DALL-E allows you to generate up to 10 images.\n4. `Image Size` Choices are `256x256`, `512x512` or `1024x1024`\n5. `API Key Override` Used to set an API Key to be used specificly on this operation.\n\n![config](examples/dall-e-config.png)\n\n### GPT-3 Davinci Operation\n\nThis operation allows text completion using the OpenAI Davinci models with the [OpenAI API](https://beta.openai.com/docs/guides/completion/introduction) taking a `prompt` as input and returns the generated text.\n\n![Demo](examples/davinci-demo.gif)\n\n**Output**\\\nAn object containing the generated text:\n```json\n{ \"response\": \"Generated TEXT\" }\n```\n\n**Configuration Options**\\\nI am by no means an expert in what any of these model specific settings do so please check out the [OpenAI docs](https://beta.openai.com/docs/guides/completion) for that.\n1. `Prompt` This is the main text input used for text completion.\n2. `Temperature` Controls randomness: Lowering results in less random completions.\n3. `Maximum Length` The maximum number of tokens to **generate**. Requests can use up to 2,048 or 4,000 tokens shared between prompt and completion.\n4. `Top P` Controls diversity via nucleus sampling: 0.5 means hald of all likelihood-weighted options are considered.\n5. `Frequency Penalty` How much to penalize new tokens based on their existing frequency in the text so far. Decreases the models likelihood to repeat the same line verbatim.\n6. `Presence Penalty` How much to penalize new tokens based on whether they appear in the text so far. Increases the models likelihood to talk about new topics.\n7. `API Key Override` Used to set an API Key to be used specificly on this operation.\n\n![config](examples/davinci-config.png)\n\n### ChatGPT Operation\n\nThis operation allows chat text completion using any of the available OpenAI models with the [OpenAI API](https://platform.openai.com/docs/guides/chat) taking a list of `messages` as input and returns the generated response text.\n![Demo](examples/chatgpt_demo.gif)\n\n**Output**\\\nAn object containing the generated text:\n```json\n{ \"response\": \"Generated chat message\" }\n```\n\n**Configuration Options**\\\nPlease check out the [OpenAI docs](https://platform.openai.com/docs/guides/chat) for details usage.\n\n1. `Messages` a *json string* list of messages as described in [OpenAI docs](https://platform.openai.com/docs/guides/chat/introduction)\n2. `Temperature` Controls randomness: Lowering results in less random completions.\n3. `Maximum Length` The maximum number of tokens to **generate**. Requests can use up to 2,048 or 4,000 tokens shared between prompt and completion.\n4. `Top P` Controls diversity via nucleus sampling: 0.5 means hald of all likelihood-weighted options are considered.\n5. `Frequency Penalty` How much to penalize new tokens based on their existing frequency in the text so far. Decreases the models likelihood to repeat the same line verbatim.\n6. `Presence Penalty` How much to penalize new tokens based on whether they appear in the text so far. Increases the models likelihood to talk about new topics.\n7. `API Key Override` Used to set an API Key to be used specificly on this operation.\n\n### Configuration Hook\n\nThis hook ensures the existence of API Key fields in the Directus Setting. These global settings will be used by the individual operations if not overridden in its local configuration. You can now also select your model of choice. If you want to manually choose one, simply click edit raw value.\n\n![Global Configuration](examples/global-configuration.png)\n",21,3,"https://github.com/br41nslug/directus-extension-ai-pack.git",2295,"bundle",{"id":11,"title":417,"description":418,"image":419,"external_url":10,"icon":10,"badge":10,"page":420,"resource":10},"Built With Directus","See what everyone's been building with Directus","e658de72-fb08-4ed2-8029-215c712c789e",{"permalink":421},"/built-with-directus",{"id":79,"title":423,"description":424,"image":425,"external_url":426,"icon":427,"badge":428,"page":10,"resource":10},"Directus TV","Go down the rabbit hole with hours of original video content from our team. ","ab70faf5-fc28-4608-a7e7-74fd4f020a9d","/tv","connected_tv","Video",{"alignment":430,"style":431,"experiment_enabled":267,"experiment":10,"experiment_variant":432,"buttons":435,"variants":445},"center","default",{"id":433,"key":434,"experiment":10},"8c4951b4-a6f9-4c06-9f71-fd39a3bdad1e","control",[436,439,442],{"id":437,"block_button_id":438},15,"358b0659-1f05-4427-bd1c-4bc03a43c182",{"id":440,"block_button_id":441},16,"9df3f40e-6272-4ec6-a0d7-cc29265e087c",{"id":443,"block_button_id":444},232,"1b444c23-b593-4391-9410-4ca5d2c7a7cb",[446],{"id":447,"alignment":430,"style":431,"buttons":448,"experiment_variant":455},"e1885d45-3119-41a3-8294-3cd796ea6f02",[449,452],{"id":450,"block_button_id":451},203,"ade37731-147d-48c4-864a-cec007576362",{"id":453,"block_button_id":454},202,"1cb4e89f-f7de-4b46-bbb8-080191517a72",{"id":456,"key":457},"66d2be4f-2492-4944-8060-039c15515918","variant",{"id":459,"icon":427,"content":460,"link":461},"812bf73d-ebfb-4246-9538-937a09a0c795","Learn more about our native MCP","https://directus.io/mcp",{"id":441,"external_url":463,"label":464,"color":465,"outline":267,"icon":10,"size":466,"target":467,"ph_event":10,"page":10,"resource":10},"https://directus.cloud/account/register","Get Started","secondary","medium","_self",{"id":438,"external_url":10,"label":469,"color":470,"outline":267,"icon":10,"size":466,"target":467,"ph_event":10,"page":471,"resource":10},"Book a Demo","primary",{"permalink":472},"/demo",{"id":444,"external_url":213,"label":474,"color":465,"outline":334,"icon":475,"size":466,"target":467,"ph_event":10,"page":10,"resource":10},"Log In","arrow_forward"]