Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ async def extract_content_graph(content: str, response_model: Type[BaseModel]):
llm_client = get_llm_client()
llm_config = get_llm_config()

prompt_path = llm_config.graph_prompt_path
prompt_path = llm_config.get("GRAPH_PROMPT_PATH", "generate_graph_prompt.txt")

system_prompt = render_prompt(prompt_path, {})
content_graph = await llm_client.acreate_structured_output(
content, system_prompt, response_model
Expand Down
Loading