import { ConfigService } from "@nestjs/config"; import { BaseConfigInterface } from "../../../config/interfaces"; import { LLMService } from "../../../core/llm/services/llm.service"; import { AppLoggingService } from "../../../core/logging/services/logging.service"; import { CommunityRepository } from "../../../foundations/community/repositories/community.repository"; import { DriftContext, DriftContextState } from "../contexts/drift.context"; export declare const defaultFollowupPrompt = "\nYou are a knowledge analyst conducting a detailed investigation.\n\n## Your Task\n\nGiven a follow-up question and community context, provide:\n1. A detailed answer to the specific question\n2. Additional follow-up questions if the investigation should continue\n\n## Guidelines\n\n- Focus on answering the specific follow-up question\n- Use entity details and relationships from the community members\n- Be specific and cite relevant entities when possible\n- Only suggest more follow-up questions if there are clear gaps to explore\n\n## Output\n\nProvide:\n- **answer**: Detailed answer to the follow-up question (100-300 words)\n- **additionalQuestions**: 0-2 additional questions if further investigation is needed\n- **shouldContinue**: Whether the investigation should continue (true if important gaps remain)\n"; export declare class FollowUpNodeService { private readonly llmService; private readonly communityRepository; private readonly logger; private readonly configService; private readonly systemPrompt; private readonly maxQuestionsPerStep; constructor(llmService: LLMService, communityRepository: CommunityRepository, logger: AppLoggingService, configService: ConfigService); execute(params: { state: typeof DriftContext.State; }): Promise>; /** * Collect additional questions from follow-up answers that should continue */ private collectAdditionalQuestions; /** * Gather detailed information about communities for local search */ private gatherCommunityDetails; } //# sourceMappingURL=followup.node.service.d.ts.map