diff --git a/cognee/infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts/render_prompt.py b/cognee/infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts/render_prompt.py index 4f0de3549..aa7a2a2cf 100644 --- a/cognee/infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts/render_prompt.py +++ b/cognee/infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts/render_prompt.py @@ -25,7 +25,7 @@ def render_prompt(filename: str, context: dict, base_directory: str = None) -> s # Set the base directory relative to the cognee root directory if base_directory is None: - base_directory = get_absolute_path("./infrastructure/llm/prompts") + base_directory = get_absolute_path("./infrastructure/llm/structured_output_framework/llitellm_instructor/llm/prompts") # Initialize the Jinja2 environment to load templates from the filesystem env = Environment(