lerni/bing-custom-search 问题修复 & 功能扩展

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

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

lerni/bing-custom-search

Composer 安装命令:

composer require lerni/bing-custom-search

包简介

Azure Cognitive Services/Search integration for Silverstripe

README 文档

README

Work in progress but not much is expected.

Azure Cognitive Services/Search integration for Silverstripe

This is a simple module created for Bing Custom Search that now runs with Azure Cognitive Services/Search.

Requirements

  • silverstripe/cms ^4.0 || ^5.0

Installation

Composer is the recommended method for installing Silverstripe modules.

require lerni/bing-custom-search

How to use

Create a Bing Custom Search Config (https://www.customsearch.ai/) to set up a config and get an Access Key (https://portal.azure.com/#create/Microsoft.BingCustomSearch). You can set these in the yml-config or via the .env file (AZURE_COGNITIVE_SEARCH_KEY, AZURE_COGNITIVE_SEARCH_CUSTOMCONFIG). Search results are meant to be loaded via htmX/Ajax and therefore HTML is returned. data-hx- Form attributes are set, so you just need to load htmx.js in template.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-01-31