@atheory-ai/kitsune-modules-search
v0.1.0
Published
Search capability module for Kitsune.
Maintainers
Readme
@atheory-ai/kitsune-modules-search
In-memory search capability module for Kitsune.
@atheory-ai/kitsune-modules-search indexes, removes, and queries small document sets through runtime commands.
Install
pnpm add @atheory-ai/kitsune-modules-searchUse
import { createKitRuntime } from '@atheory-ai/kitsune-core'
import { searchModule } from '@atheory-ai/kitsune-modules-search'
const runtime = createKitRuntime()
await runtime.install(searchModule())
await runtime.start()
await runtime.command({
type: 'search.index',
payload: { id: 'doc-1', title: 'Launch plan', text: 'Review checklist' },
})Commands
search.indexsearch.removesearch.query
Exports
searchModuleSearchToken- Search document, query, result, and service types
Documentation
See the Kitsune docs at https://kitsune.atheory.ai.
License
Apache-2.0
