@@ -0,0 +1,66 @@
|
||||
// The public API of the knowledge module: what a page, another module and the OpenAPI document may
|
||||
// import. Nothing here reaches core/, adapters/ or a driver.
|
||||
|
||||
export { DOCUMENT_COLLECTION, KNOWLEDGE_COLLECTIONS } from "./collections.js"
|
||||
export {
|
||||
AUTO_INDEX_CHANGED,
|
||||
AUTO_INDEX_CONTENT_TYPES,
|
||||
AUTO_INDEX_JOB,
|
||||
AUTO_INDEX_PROCESSOR_KEY,
|
||||
COLLECTION_CREATED,
|
||||
DOCUMENT_AI_DISABLED,
|
||||
DOCUMENT_AI_ENABLED,
|
||||
DOCUMENT_INDEX_REQUESTED,
|
||||
DOCUMENT_REMOVE_REQUESTED,
|
||||
INDEX_JOB,
|
||||
INDEXABLE_CONTENT_TYPES,
|
||||
KNOWLEDGE_FLAG,
|
||||
KNOWLEDGE_FLAG_DEFAULTS,
|
||||
MAX_AUTO_INDEX_BYTES,
|
||||
MAX_INDEX_BYTES,
|
||||
MAX_QUERY_LENGTH,
|
||||
MAX_SEARCH_RESULTS,
|
||||
REMOVE_JOB,
|
||||
} from "./constants.js"
|
||||
export {
|
||||
autoIndex,
|
||||
collections,
|
||||
config,
|
||||
documents,
|
||||
KNOWLEDGE_ENTITIES,
|
||||
KNOWLEDGE_ENTITIES_V1,
|
||||
passageSets,
|
||||
} from "./entities.js"
|
||||
export { documentIndexRequested, documentRemoveRequested, KNOWLEDGE_EVENTS } from "./events.js"
|
||||
export type { CollectionView, DocumentView, SearchResult } from "./procedures.js"
|
||||
export {
|
||||
autoIndexGet,
|
||||
autoIndexSet,
|
||||
collectionCreate,
|
||||
collectionList,
|
||||
collectionName,
|
||||
collectionViewSchema,
|
||||
documentGetMany,
|
||||
documentIndex,
|
||||
documentList,
|
||||
documentRemove,
|
||||
documentViewSchema,
|
||||
KNOWLEDGE_PROCEDURES,
|
||||
knowledgeSearch,
|
||||
knowledgeStatus,
|
||||
searchResultSchema,
|
||||
settingsDisableDocumentAi,
|
||||
settingsEnableDocumentAi,
|
||||
settingsGet,
|
||||
} from "./procedures.js"
|
||||
export type { DocumentStatus, EnablementReason, IndexFailure } from "./statuses.js"
|
||||
export {
|
||||
ENABLEMENT_REASONS,
|
||||
INDEX_FAILURES,
|
||||
KNOWLEDGE_BACKENDS,
|
||||
KNOWLEDGE_REFUSALS,
|
||||
type KnowledgeBackend,
|
||||
type KnowledgeRefusal,
|
||||
SERVICE_STATES,
|
||||
type ServiceState,
|
||||
} from "./statuses.js"
|
||||
Reference in New Issue
Block a user