fix: dedup entities

This commit is contained in:
Manoj K 2025-06-23 21:34:33 +05:30
parent 923c7e6549
commit 892ed79990

View File

@ -74,19 +74,16 @@ export class KnowledgeGraphService {
sessionId: params.sessionId, sessionId: params.sessionId,
}); });
// const normalizedEpisodeBody = await this.normalizeEpisodeBody( const normalizedEpisodeBody = await this.normalizeEpisodeBody(
// params.episodeBody, params.episodeBody,
// params.source, params.source,
// params.userId, params.userId,
// ); );
const normalizedEpisodeBody = `- Harshith Mullapudi requested the assistant to retrieve details from a specific task description, use the claude_code tool, create a new branch named "harshith/image-fix," and push changes to that branch. if (normalizedEpisodeBody === "NOTHING_TO_REMEMBER") {
- The assistant initiated actions to get the task details and to use the claude_code tool as instructed by Harshith Mullapudi.`; logger.log("Nothing to remember");
return;
// if (normalizedEpisodeBody === "NOTHING_TO_REMEMBER") { }
// logger.log("Nothing to remember");
// return;
// }
// Step 2: Episode Creation - Create or retrieve the episode // Step 2: Episode Creation - Create or retrieve the episode
const episode: EpisodicNode = { const episode: EpisodicNode = {