Replace heuristic room read with Ollama sidecar
This commit is contained in:
parent
ada64a1ad1
commit
8bd43c2c3a
14 changed files with 423 additions and 6 deletions
|
|
@ -4,6 +4,7 @@ import {
|
|||
type GuildContext,
|
||||
type InteractionMemoryProfile,
|
||||
type RetrievalResult,
|
||||
type SituationalSocialRead,
|
||||
type SourceGroundingHint,
|
||||
type SourceMessage,
|
||||
type StylePack,
|
||||
|
|
@ -16,6 +17,7 @@ export interface BuildContextInput {
|
|||
recentMessages?: SourceMessage[];
|
||||
retrieval?: RetrievalResult[];
|
||||
interactionMemory?: InteractionMemoryProfile;
|
||||
situationalSocialRead?: SituationalSocialRead;
|
||||
sourceGrounding?: SourceGroundingHint;
|
||||
stylePack?: StylePack;
|
||||
}
|
||||
|
|
@ -29,6 +31,7 @@ export class ContextBuilder {
|
|||
recentMessages: input.recentMessages ?? [],
|
||||
retrieval: input.retrieval ?? [],
|
||||
interactionMemory: input.interactionMemory,
|
||||
situationalSocialRead: input.situationalSocialRead,
|
||||
sourceGrounding: input.sourceGrounding,
|
||||
stylePack: input.stylePack,
|
||||
createdAt: new Date().toISOString(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue