Require source grounding for project and lore answers
This commit is contained in:
parent
75052f198a
commit
b4693f5609
6 changed files with 236 additions and 3 deletions
|
|
@ -166,6 +166,12 @@ export interface InteractionMemoryProfile {
|
|||
recentEvents: InteractionMemoryEvent[];
|
||||
}
|
||||
|
||||
export interface SourceGroundingHint {
|
||||
required: boolean;
|
||||
reasons: string[];
|
||||
matchedRepoNames: string[];
|
||||
}
|
||||
|
||||
export interface ContextBundle {
|
||||
prompt: string;
|
||||
actor: Actor;
|
||||
|
|
@ -173,6 +179,7 @@ export interface ContextBundle {
|
|||
recentMessages: SourceMessage[];
|
||||
retrieval: RetrievalResult[];
|
||||
interactionMemory?: InteractionMemoryProfile;
|
||||
sourceGrounding?: SourceGroundingHint;
|
||||
stylePack?: StylePack;
|
||||
createdAt: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue