refactor: remove referenceTime parameter from knowledge graph ingestion

This commit is contained in:
Manoj K 2025-06-30 12:23:46 +05:30
parent 484d248f0b
commit 6bb933ca29
2 changed files with 0 additions and 2 deletions

View File

@ -14,7 +14,6 @@ export async function ingestKnowledgeGraph(args: IngestKG) {
const response = await axiosInstance.post(`/ingest`, {
episodeBody: args.message,
source: process.env.SOURCE,
referenceTime: args.referenceTime,
sessionId: undefined,
});
return response.data;

View File

@ -9,7 +9,6 @@ export const SearchKGSchema = z.object({
export const IngestKGSchema = z.object({
message: z.string().describe("The data to ingest in text format"),
referenceTime: z.string().describe("The reference time in ISO format"),
});
export type SearchKG = z.infer<typeof SearchKGSchema>;