@defikitdotnet/x-ai-combat
Version:
XCombatAI - Social Media Engagement Template for the Agent Framework
32 lines • 825 B
TypeScript
import { Character } from "@elizaos/core";
interface ReplyContext {
userId: string;
username?: string;
tweetContent?: string;
postCount: number;
stats: {
likes: number;
retweets: number;
quotes: number;
replies: number;
famePoints?: number;
};
famePoints: number;
isLinked: boolean;
}
export declare const buildSystemPrompt: (context: ReplyContext, character: Character) => string;
/**
* Summarize interactions for the prompt
*/
export declare const summarizeInteractions: (stats: {
likes: number;
retweets: number;
quotes: number;
replies: number;
}) => string;
/**
* Get a fallback reply based on context
*/
export declare const getFallbackReply: (context: ReplyContext) => string;
export {};
//# sourceMappingURL=ai-utils.d.ts.map