Skip to content

Knowledge graph improvement#57

Open
saksham115 wants to merge 6 commits intomainfrom
saksham115/knowledge-graph-impl
Open

Knowledge graph improvement#57
saksham115 wants to merge 6 commits intomainfrom
saksham115/knowledge-graph-impl

Conversation

@saksham115
Copy link
Copy Markdown
Contributor

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ryumem Ready Ready Preview, Comment Jan 29, 2026 11:06am

Request Review

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets put this inside agent instruction table so that the users can change it for themself

schema = response_model.model_json_schema()
schema_str = json.dumps(schema, indent=2)

enhanced_prompt = f"""{system_prompt}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this also lets standardize everywhere. also can wed make create_structured_output in utils and wrap gemini and litellm if possible.

PROMPTS_DIR = Path(__file__).parent / "prompts"


def _load_prompt(filename: str) -> str:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is very duiplicated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants