承接 mostlyserious/craft-promptly 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mostlyserious/craft-promptly

Composer 安装命令:

composer require mostlyserious/craft-promptly

包简介

Revolutionize content creation in Craft by leveraging the power of AI, giving superpowers to your content creators to help them brainstorm and edit content with an AI assistant directly within Craft CMS.

README 文档

README

Promptly

Revolutionize content creation in Craft by leveraging the power of AI, giving superpowers to your content creators to help them brainstorm and edit content with an AI assistant directly within Craft CMS.

Looking to utilize Promptly on your project? Read our blog post on using Promptly.

Features

Promptly offers four tailored prompt categories to help you manage your content:

  • 🧠 Brainstorm: Craft tailored headlines, think of topic ideas, and solve the blank page problem by writing opening paragraphs.
  • ✍🏼 Edit: Save time and money by leveraging AI to correct spelling and grammar, adjust the length of your content, translate languages, or change the tone of your writing.
  • Custom Prompts: Write your own prompts to generate any result you can dream up, without ever leaving Craft CMS.

Built With Content in Mind

The Brainstorm and Edit prompts are designed to ensure the results you receive from GPT are aligned with your existing content, and you can add keywords to help shape the response to your precise needs.

Using Custom Prompts, your options are nearly limitless. Here are just a few examples of what you can use AI to accelerate:

  • 📚 Blogging:
    • Generate a list of blog post topics based on customer pain points
    • Suggest new ways to approach a subject for fresh content
    • Suggest new topic ideas based on high performing posts
  • 🌐 Website Content:
    • Craft compelling product descriptions for your online store
    • Generate unique and informative FAQs your customers may ask
    • Brainstorm engaging calls-to-action to increase conversions
  • 🛟 Knowledge Base / Help Center:
    • Generate concise and informative how-to articles
    • Craft step-by-step guides for using products or services
    • Develop troubleshooting articles to address common issues

Install Promptly to add an AI assistant to elevate your content creation process, save time and money, and bring the advantages of AI directly into Craft CMS.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store
Go to the Plugin Store in your project’s Control Panel and search for “Promptly”. Then click on the “Install” button in its modal window.

With Composer
Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project

# tell Composer to load the plugin
composer require mostlyserious/craft-promptly

# tell Craft to install the plugin
php craft plugin/install promptly

Overriding Plugin Settings

If you create a config file in your /config folder called promptly.php, you can override the plugin's settings in the Control Panel. Since that config file is fully multi-environment aware, this is a handy way to have different settings across multiple environments.

Here’s what that config file might look like along with a list of all of the possible values you can override.

<?php

use craft\helpers\App;

return [
    'openAiKey' => App::env('OPENAI_API_KEY'),
    'gptModel' => 'gpt-4' // or gpt-3.5-turbo
];

‼️ Promptly has been tested with gpt-4 and gpt-3.5-turbo and these are the only two values available from the Control Panel. However, any OpenAI GPT model that uses the chat endpoint should work and as of the time this writing includes: gpt-4, gpt-4-0613, gpt-4-32k, gpt-4-32k-0613, gpt-3.5-turbo, gpt-3.5-turbo-0613, gpt-3.5-turbo-16k, and gpt-3.5-turbo-16k-0613.

OpenAI API Pricing

With the Promptly plugin, you'll have two separate costs: licensing for the plugin itself and another for the AI-generated content from OpenAI. The plugin provides seamless Craft integration with OpenAI's API, custom prompting, and a user-friendly interface. Please note that you'll be billed separately for content generated by OpenAI's API based on their pay-for-what-you-use model. You can learn more about pricing and your OpenAI API key on OpenAI's website.

Short-Term Roadmap

  • Adding tests
  • Code-base refactoring & bug fixes
  • Collecting community feedback
  • Improved accessibility

Mostly Serious

mostlyserious/craft-promptly 适用场景与选型建议

mostlyserious/craft-promptly 是一款 基于 Svelte 开发的 Composer 扩展包,目前已累计 75 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 06 月 29 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「cms」 「Craft」 「ai」 「craftcms」 「craft-plugin」 「openai」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 mostlyserious/craft-promptly 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mostlyserious/craft-promptly 我们能提供哪些服务?
定制开发 / 二次开发

基于 mostlyserious/craft-promptly 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 75
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 28
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: Svelte

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-06-29