diff --git a/src/TextToGraph.ts b/src/TextToGraph.ts index e942da9..38051ae 100644 --- a/src/TextToGraph.ts +++ b/src/TextToGraph.ts @@ -24,7 +24,7 @@ export class TextToGraph { }, logger: options.logger, openAiOptions: options.openAiOptions, - systemPrompt: options.textToGraphPrompt, + systemPrompt: options.textToGraphPrompt ? options.textToGraphPrompt : TEXT_TO_GRAPH_PROMPT, }); }