Interface: IAIGatewayOverrides
Defined in: types.ts:296
What a host (or a test) replaces in the gateway: one factory per dep, each receiving the dep's own config and deps.
The second argument of the AIGateway constructor. A factory must return an object that implements the dep's
I<Class> interface; the usual body is (config, deps) => new MyClass(config, deps). A dep without a config or without
deps receives undefined there.
Properties
aiProfileStore?
optionalaiProfileStore?:TDepFactory<IAIProfileStoreConfig,IAIProfileStoreDeps,IAIProfileStore>
Defined in: types.ts:300
Replaces the AIProfileStore; receives its config and IAIProfileStoreDeps.
contextAssembler?
optionalcontextAssembler?:TDepFactory<IContextAssemblerConfig,IContextAssemblerDeps,IContextAssembler>
Defined in: types.ts:304
Replaces the ContextAssembler; receives its config and IContextAssemblerDeps.
embedder?
optionalembedder?:TDepFactory<IEmbedderConfig,IEmbedderDeps,IEmbedder>
Defined in: types.ts:318
Replaces the Embedder; receives its config and IEmbedderDeps.
fileStore?
optionalfileStore?:TDepFactory<IFileStoreConfig,undefined,IFileStore>
Defined in: types.ts:310
Replaces the FileStore; receives its config, no deps.
guardrails?
optionalguardrails?:TDepFactory<IGuardrailsConfig,IGuardrailsDeps,IGuardrails>
Defined in: types.ts:340
Replaces the Guardrails; receives its config and IGuardrailsDeps.
humanGate?
optionalhumanGate?:TDepFactory<IHumanGateConfig,IHumanGateDeps,IHumanGate>
Defined in: types.ts:336
Replaces the HumanGate; receives its config and IHumanGateDeps.
kbIngestor?
optionalkbIngestor?:TDepFactory<IKbIngestorConfig,IKbIngestorDeps,IKbIngestor>
Defined in: types.ts:326
Replaces the KbIngestor; receives its config and IKbIngestorDeps.
kbRetriever?
optionalkbRetriever?:TDepFactory<IKbRetrieverConfig,IKbRetrieverDeps,IKbRetriever>
Defined in: types.ts:324
Replaces the KbRetriever; receives its config and IKbRetrieverDeps.
llmClient?
optionalllmClient?:TDepFactory<ILLMClientConfig,ILLMClientDeps,ILLMClient>
Defined in: types.ts:342
Replaces the LLMClient (tests: a fake that answers without a provider); receives its config and ILLMClientDeps.
mdChunker?
optionalmdChunker?:TDepFactory<IMdChunkerConfig,undefined,IMdChunker>
Defined in: types.ts:316
Replaces the MdChunker; receives its config, no deps.
modelRegistry?
optionalmodelRegistry?:TDepFactory<IModelRegistryConfig,undefined,IModelRegistry>
Defined in: types.ts:298
Replaces the ModelRegistry; receives IModelRegistryConfig, no deps.
promptTemplateStore?
optionalpromptTemplateStore?:TDepFactory<IPromptTemplateStoreConfig,undefined,IPromptTemplateStore>
Defined in: types.ts:302
Replaces the PromptTemplateStore; receives its config, no deps.
queryRewriter?
optionalqueryRewriter?:TDepFactory<IQueryRewriterConfig,IQueryRewriterDeps,IQueryRewriter>
Defined in: types.ts:322
Replaces the QueryRewriter; receives its config and IQueryRewriterDeps.
runStore?
optionalrunStore?:TDepFactory<IRunStoreConfig,undefined,IRunStore>
Defined in: types.ts:334
Replaces the RunStore; receives its config, no deps.
skillRegistry?
optionalskillRegistry?:TDepFactory<ISkillRegistryConfig,undefined,ISkillRegistry>
Defined in: types.ts:332
Replaces the SkillRegistry; receives its config, no deps.
threadStore?
optionalthreadStore?:TDepFactory<IThreadStoreConfig,undefined,IThreadStore>
Defined in: types.ts:306
Replaces the ThreadStore; receives its config, no deps.
toolPolicy?
optionaltoolPolicy?:TDepFactory<IToolPolicyConfig,undefined,IToolPolicy>
Defined in: types.ts:330
Replaces the ToolPolicy; receives its config, no deps.
toolRegistry?
optionaltoolRegistry?:TDepFactory<IToolRegistryConfig,undefined,IToolRegistry>
Defined in: types.ts:328
Replaces the ToolRegistry; receives its config (the built-in tools already in front of the app's), no deps.
trace?
optionaltrace?:TDepFactory<ITraceConfig,undefined,ITrace>
Defined in: types.ts:344
Replaces the Trace; receives its config, no deps.
turnBuilder?
optionalturnBuilder?:TDepFactory<undefined,undefined,ITurnBuilder>
Defined in: types.ts:308
Replaces the TurnBuilder; it has no config and no deps.
usageGuard?
optionalusageGuard?:TDepFactory<IUsageGuardConfig,undefined,IUsageGuard>
Defined in: types.ts:338
Replaces the UsageGuard; receives its config, no deps.
userMemoryStore?
optionaluserMemoryStore?:TDepFactory<IUserMemoryStoreConfig,IUserMemoryStoreDeps,IUserMemoryStore>
Defined in: types.ts:314
Replaces the UserMemoryStore; receives its config and IUserMemoryStoreDeps.
vectorStore?
optionalvectorStore?:TDepFactory<IVectorStoreConfig,undefined,IVectorStore>
Defined in: types.ts:320
Replaces the VectorStore; receives its config, no deps.
workingMemory?
optionalworkingMemory?:TDepFactory<IWorkingMemoryConfig,IWorkingMemoryDeps,IWorkingMemory>
Defined in: types.ts:312
Replaces the WorkingMemory (a host's own thread memory, D122); receives its config and IWorkingMemoryDeps.