@@ -147,10 +147,6 @@ export interface State {
147
147
goalsData ?: Goal [ ] ; // An optional array of goal objects relevant to the current conversation or context.
148
148
recentMessages : string ; // A string representation of recent messages in the conversation, for context.
149
149
recentMessagesData : Memory [ ] ; // An array of memory objects representing recent messages in the conversation.
150
- recentFacts ?: string ; // An optional string representation of recent facts derived from the conversation.
151
- recentFactsData ?: Memory [ ] ; // An optional array of memory objects representing recent facts.
152
- relevantFacts ?: string ; // An optional string representation of facts relevant to the current context or topic.
153
- relevantFactsData ?: Memory [ ] ; // An optional array of memory objects representing relevant facts.
154
150
actionNames ?: string ; // An optional string listing the names of actions that are valid in the current state.
155
151
actions ?: string ; // An optional string representation of actions and their descriptions, relevant to the current state.
156
152
actionsData ?: Action [ ] ; // An optional array of action objects relevant to the current state.
@@ -584,21 +580,23 @@ export interface IImageDescriptionService extends Service {
584
580
}
585
581
586
582
export interface ITranscriptionService extends Service {
587
- transcribeAttachment ( audioBuffer : ArrayBuffer , runtime : IAgentRuntime ) : Promise < string | null > ;
583
+ transcribeAttachment ( audioBuffer : ArrayBuffer ) : Promise < string | null > ;
588
584
transcribeAttachmentLocally (
589
- audioBuffer : ArrayBuffer ,
590
- runtime : IAgentRuntime
585
+ audioBuffer : ArrayBuffer
591
586
) : Promise < string | null > ;
592
- transcribe ( audioBuffer : ArrayBuffer , runtime : IAgentRuntime ) : Promise < string | null > ;
593
- transcribeLocally ( audioBuffer : ArrayBuffer , runtime : IAgentRuntime ) : Promise < string | null > ;
587
+ transcribe ( audioBuffer : ArrayBuffer ) : Promise < string | null > ;
588
+ transcribeLocally ( audioBuffer : ArrayBuffer ) : Promise < string | null > ;
594
589
}
595
590
596
591
export interface IVideoService extends Service {
597
592
isVideoUrl ( url : string ) : boolean ;
598
593
processVideo ( url : string ) : Promise < Media > ;
594
+ fetchVideoInfo ( url : string ) : Promise < Media > ;
595
+ downloadVideo ( videoInfo : Media ) : Promise < string > ;
599
596
}
600
597
601
598
export interface ITextGenerationService extends Service {
599
+ getInstance ( ) : ITextGenerationService ;
602
600
initializeModel ( ) : Promise < void > ;
603
601
queueMessageCompletion (
604
602
context : string ,
0 commit comments