ghoststreet/craft-smart-search 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ghoststreet/craft-smart-search

Composer 安装命令:

composer require ghoststreet/craft-smart-search

包简介

Smart Search: hybrid and RAG search for Craft CMS using OpenAI embeddings and PostgreSQL pgvector.

README 文档

README

AI-powered Smart Search and AI Answer for Craft CMS. Smart Search blends semantic (meaning-based) and keyword ranking, and can write a short AI Answer with sources when you want one.

Requirements

  • Craft CMS 4.0+ or 5.0+
  • PHP 8.2+
  • PostgreSQL 12+ with the pgvector extension (MySQL is not supported)
  • OpenAI API key

Install

composer require ghoststreet/craft-smart-search
./craft plugin/install smart-search

Then, in Craft → Smart Search → Settings → Connections, add your OpenAI key and Postgres details.

One-time database setup is required before the plugin can index anything. See Installation in the wiki.

Quick example

{% set results = craft.smartSearch.search('how do I reset my password') %}

{% for r in results %}
  <a href="{{ r.url }}">{{ r.title }}</a>
  <p>{{ r.excerpt }}</p>
{% endfor %}

Documentation

Full documentation lives in the Smart Search Wiki:

Support

Email dev@ghost.st for bugs or questions.

License

Licensed under the Craft License. A license is required for each Craft project running Smart Search in production.

Built by Ghost Street

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-07-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固