mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-10 23:48:26 +00:00
refactor: remove referenceTime parameter from knowledge graph ingestion
This commit is contained in:
parent
484d248f0b
commit
6bb933ca29
@ -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;
|
||||
|
||||
@ -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>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user