大型語言模型 (LLM)
您可以將大型語言模型的力量直接整合到您的應用程式中,以建立能夠理解和生成類似人類文字的功能。這為互動性和使用者協助開闢了無限可能。| 用例 | 範例提示詞 |
|---|---|
| AI 驅動的聊天機器人 | "Add a chatbot to the bottom right corner of the site. It should be able to answer frequently asked questions about our pricing, features, and return policy." |
| 內容生成工具 | "Create a new page called 'Blog Post Helper'. Add a text input field and a button. When the user enters a topic and clicks the button, call the LLM to generate a 100-word blog post introduction on that topic and display it below." |
| 自然語言搜尋 | "Upgrade the search bar in the header to use natural language processing. When a user searches for 'cheap red shoes for running', it should understand the intent and show relevant products from the database." |
| 自動摘要 | "On the article pages, add a 'Summarize' button. When clicked, use the LLM to generate a three-bullet-point summary of the article's content." |
圖像生成
除了基於文字的 AI,您還可以將動態圖像生成整合到您的應用程式中。這實現了廣泛的創意和個人化視覺體驗。| 用例 | 範例提示詞 |
|---|---|
| 個人化頭像 | "On the user profile page, add a feature to generate a personalized avatar. The user can enter a text description like 'a friendly robot with a blue hat', and the app should generate and display the image." |
| 動態產品模型 | "On the product page for our custom t-shirts, add a section where users can input text. Use the image generation model to create a mockup of the t-shirt with their custom text printed on it." |
| 創意背景 | "Create a 'background generator' tool. Add a text area where users can describe a scene, like 'a futuristic cityscape at sunset, in a watercolor style'. Generate a high-resolution background image based on their description." |
| AI 生成的插圖 | "For our blog, create a feature that generates a unique header image for each new post based on the post's title and a summary of its content." |