Language

The customer-service knowledge base and to-do questions

Only published entries are retrieved on the visitor side; to-dos are recorded only when knowledge is not hit; turning into knowledge still leaves a draft that needs a human to publish; import is parse, preview, pick row by row, confirm.

The customer-service knowledge base answers visitor questions, and its "self-growth" grows the to-do list, not an answer outlet. This distinction decides whether it is safe — a robot that writes its own answers and a system that only says "I could not find this" are two different things.

When a knowledge item takes effect for visitors

Knowledge entries have two states, draft and published; only published ones are read on the visitor side. Write it without publishing, and it is just one row in the store.

Retrieval is keyword matching: tokenize the question, take adjacent bigrams for Chinese, weight the title, then take the most relevant published entries. It is not semantic retrieval — no vectors, no similarity model. This is both a limitation and a benefit: why this entry was picked can be explained.

One boundary to know: the retrieval window only takes the latest few published entries. So "the answer actually exists, but that entry ranks far back" can happen, and it will show up as the next item — a to-do question.

When a to-do question is recorded

Only one case records it: this sentence did not hit any published knowledge, and the model answered one on its own. During transfer to a human, when the model is not configured, or when the request is invalid, nothing is recorded — those are not "could not answer".

This table stores neither conversation numbers nor visitor addresses; the visitor's original sentence is saved truncated by character length. Its only reason to exist is "this sentence could not be answered", so it carries only what is needed to answer that question.

"Ignoring" a to-do question is not a permanent deletion: the uniqueness of a to-do only applies to those still "in to-do"; if a visitor asks the same sentence again, a new one opens. One misclick should not make the question disappear forever — precisely after someone ignores it, it deserves to be seen again.

From to-do to knowledge, a person must be in between

A to-do question can carry a candidate answer (from the model, or written by an agent). "Turning it into knowledge" still yields a draft, with the visitor's original words attached. Publishing still needs a human click.

A candidate answer an agent hand-picks is not overwritten by later model answers — when a person is present, what the person gives prevails.

Bulk import is four steps, not "throwing it in"

Import goes through parse → preview → pick row by row → confirm. There are size and count caps, and the title and body each have length limits.

The key one: after preview, if the original entries were changed during this period, the whole batch is rejected instead of partially written. Better to make you import once more than to have "import succeeded but three of them are old content".

Knowledge can also be per-language

The knowledge base has its own translation surface, and entries can be translated into the visitor's language. The criterion matches site content: when the source text changes, the corresponding language's translation is read as stale, and the visitor side falls back to the source language and marks it honestly, instead of passing the old translation off.