Linux 软件免费装
Banner图

Askledge

开发者 abourri
更新时间 2026年9月27日 07:23
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

faq assistant chatbot site search knowledge base

下载

1.2.0

详情介绍:

Askledge adds a chat-style box to your site that answers visitor questions from your own content. You choose what it may read — posts, pages, custom post types, WooCommerce products, taxonomy terms, and individually approved ACF fields — and it answers only from that, plus any answers you write yourself. When nothing on the site covers the question, it says so and offers your fallback message instead of guessing. It works with no AI service. By default the answer is built on your own server: the question is matched against the indexed content, and the reply names the best-matching page and lists the relevant pages with an excerpt from each. Nothing is sent anywhere. Where answers come from In order, the first of these that has something to say is what the visitor gets:
  1. Curated Answers — rich answers you design yourself: plain text, numbered steps, cards (typed by hand or picked from your own posts, pages or products), or a set of links, each with an optional button. Stored as structured data and drawn by the plugin, so no admin-entered HTML is ever placed on the page.
  2. Manual Q&A — question and answer pairs you type on one line each, returned exactly as written.
  3. Human handoff — a visitor asking for a person gets your configured contact actions: email, telephone, WhatsApp, a contact page or a custom link. Existing WhatsApp settings remain supported.
  4. Local answers — for common questions (contact details, location, opening hours, what you offer, prices, what the site is about) the facts are read out of your own pages. Recognised in English, French, Spanish and Arabic. Entirely on your server.
  5. Search — the question is matched against your content index and answered with the best-matching page and a ranked list of links, each with an excerpt.
Optional AI mode You can instead have the matched excerpts written up into a sentence by an AI service. It is off by default, and no company is built in: you enter the endpoint address, key and model name of whichever service you have chosen, including one running on your own hardware. Until you do, the plugin connects to nothing. See "External services" below for exactly what is sent, and when. What it does not do Other things worth knowing

安装:

  1. Install through Plugins → Add New, or upload the ZIP under Plugins → Add New → Upload Plugin.
  2. Activate Askledge.
  3. Go to Askledge → Overview and switch the assistant on. Nothing else is required: the default answer mode is Search, which needs no key and no account.
  4. Go to Content Sources, tick the post types and taxonomies the assistant may read (and, if you use ACF, the individual fields), then press Build index. Press Rebuild index after changing these choices.
  5. Optional: under Curated Answers, write the answers you want returned first, and mark any you want offered as buttons when the assistant opens.
  6. Optional: under Human Handoff, configure contact actions so a visitor can reach a person.
  7. Optional: under Answers & Behaviour, switch to Composed by AI and enter the address, key and model of the service you have chosen, then use Test connection.
A fresh installation ships no example, demo or placeholder content. Every section is empty until you fill it.

屏幕截图:

  • Askledge providing clear, contextual answers inside a real website experience.
  • Askledge assisting visitors on a travel website with relevant site-based information.
  • Responsive mobile experience with a human handoff option when no clear answer is available.

升级注意事项:

1.2.0 Adds display rules, contact actions, a block, setup and admin tools. Existing data and WhatsApp settings are retained. Private AI endpoints now require explicit opt-in. Two small per-site tables are added; no existing index or log rows are migrated. 1.1.3 Renamed to Askledge. Improves security and input validation throughout. Everything you have configured is kept and the old shortcodes still work. Recommended update for all users. 1.1.0 Improves security, curated answers, admin experience and frontend behaviour. Recommended update for all users. If you used AI mode before, enter your service's endpoint address once under Answers & Behaviour.

常见问题:

How do Display Rules work?

Entire site includes archives and singular content. Selected content includes the chosen public post types OR explicit pages/posts. Exclusions always win. Rules also apply to the block, shortcode and classic widget, and prevent frontend assets loading on excluded pages. They are placement rules, not access control for the public chat endpoint.

What happens during an interrupted index build?

The cursor and progress are saved after each post. Build/resume continues from that position; Rebuild starts a new pass without emptying the live index. Batches pause when the admin page is closed. MySQL/MariaDB connection locks serialize writes. Custom donated extra documents retain the existing extension contract.

How do I configure proxies or a private AI endpoint?

Forwarded headers are ignored by default. Trusted server integrations can use askledge_client_ip or askledge_rate_limit_identifier; only accept forwarding headers from a verified proxy. Private AI endpoints require the explicit advanced opt-in. HTTPS remains required except for loopback development endpoints. Redirects never receive the API key.

What do analytics and conversation context store?

Anonymous counters and feedback are optional and off by default. They count questions, outcomes, source post IDs and contact usage without storing question text or visitor identifiers. Signed feedback receipts are single-use and expire after one hour. Rate-limit hashes and used receipts are purged by daily cron after expiry. The separate optional question log retains its existing controls. The last three recognized intent names live only in each widget on the current page and are cleared by Reset or navigation.

What does JSON export include?

Settings and curated answers with schema askledge/config version 1. Keys, AI endpoints, private-endpoint permission, logs and analytics are excluded. Import needs explicit confirmation, validates values, and retains the site's current AI credentials and private-network permission. Content IDs refer to this WordPress site's posts: review selectors/cards when moving to a different site, then rebuild the index.

Which hooks can integrations use?

askledge_avoid_selectors receives an array of CSS selectors. askledge_client_ip and askledge_rate_limit_identifier integrate verified proxies. askledge_intent_languages extends supported language codes; the existing site_answers_intent_dictionaries, site_answers_intent_registry, site_answers_intent_retrieval_terms and site_answers_followup_markers extend language vocabulary. Existing site_answers_* public hooks and shortcode aliases remain available.

Do I need an API key or an AI account?

No. The default Search mode answers entirely from your own indexed content. A key is only needed if you deliberately switch to AI mode, and the service is your choice.

Where do the answers come from?

From the content you selected under Content Sources, from the Curated Answers and Manual Q&A pairs you wrote yourself, and from nowhere else.

What happens if the answer isn't on my site?

The assistant shows your configured "not found" message and, if you have configured a contact action and left the no-answer handoff on, buttons to reach you. It never invents an answer, a price, a date or a link.

Are my ACF fields indexed automatically?

No. ACF inclusion is off by default, and even once switched on only the individual fields you tick are ever read. Field names that look personal or sensitive can never be selected.

Can order, booking or customer data be indexed?

No. Post types whose name contains patterns such as order, booking, customer, cart, payment, invoice, user or subscription are permanently excluded from the picker, regardless of settings.

Does it work with WooCommerce?

Yes. With WooCommerce active and product selected under Content Sources, each product's title, price, descriptions and visible attributes are indexed.

Does it work with Polylang?

Yes. Each post is indexed under its own language, and a setting controls whether the assistant may fall back to another language.

I was using the plugin under its previous name. Will I lose anything?

No. Settings, Curated Answers, Manual Q&A, the API key, the content index, the question log and widget instances are all kept. The [site_answers] and [site_knowledge_assistant] shortcodes keep working as aliases of [askledge].

更新日志:

1.2.1 1.2.0 1.1.3 1.1.2 1.1.1 1.1.0 1.0.0