@hivetechs/hive-ai
Version:
Real-time streaming AI consensus platform with HTTP+SSE MCP integration for Claude Code, VS Code, Cursor, and Windsurf - powered by OpenRouter's unified API
40 lines • 1.58 kB
TypeScript
/**
* Topic Tagging System for Hive.AI MCP Server
*
* Implements a sophisticated tagging system for conversations and messages
* to enable thematic relation discovery across the consensus pipeline.
*
* Uses provider-agnostic approach to ensure resilience across different LLM providers.
*/
/**
* Extract topics from text using AI
* @param text The text to extract topics from
* @param providerName Optional provider name to use
*/
export declare function extractTopicsWithAI(text: string, providerName?: string): Promise<string[]>;
/**
* Tag a conversation with topics based on its content
*/
export declare function tagConversation(conversationId: string): Promise<string[]>;
/**
* Find conversations related to a specific topic
*/
export declare function findConversationsByTopic(topic: string, limit?: number): Promise<string[]>;
/**
* Find topics related to a specific query
*/
export declare function findTopicsForQuery(query: string): Promise<string[]>;
/**
* Extract topics from text (exported for external use)
*/
export declare function extractTopics(text: string): string[];
/**
* Extract keywords from text using AI (exported for external use)
*/
export declare function extractKeywords(text: string, providerName?: string): Promise<string[]>;
/**
* Find relevant knowledge for each AI in the pipeline based on the query
* Uses provider-agnostic approach for topic extraction and knowledge retrieval
*/
export declare function findRelevantKnowledgeForAI(query: string, stage: string): Promise<string>;
//# sourceMappingURL=topicTagging.d.ts.map