Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LLM graph transformer #18733

Merged
merged 12 commits into from
Mar 8, 2024
Merged

Conversation

tomasonjo
Copy link
Contributor

Add a class that constructs knowledge graphs based on text using an LLM.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Ɑ: models Related to LLMs or chat model modules 🤖:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features labels Mar 7, 2024
Copy link

vercel bot commented Mar 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2024 4:14am

@@ -0,0 +1,255 @@
from typing import Any, List, Optional, Sequence

from langchain.prompts import ChatPromptTemplate
Copy link
Collaborator

Choose a reason for hiding this comment

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

from langchain_core.prompts import ChatPromptTemplate

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed, thanks!

@baskaryan baskaryan merged commit c8c592d into langchain-ai:master Mar 8, 2024
23 checks passed
bechbd pushed a commit to bechbd/langchain that referenced this pull request Mar 29, 2024
Add a class that constructs knowledge graphs based on text using an LLM.
gkorland pushed a commit to FalkorDB/langchain that referenced this pull request Mar 30, 2024
Add a class that constructs knowledge graphs based on text using an LLM.
hinthornw pushed a commit that referenced this pull request Apr 26, 2024
Add a class that constructs knowledge graphs based on text using an LLM.
@OlegBEZb
Copy link

OlegBEZb commented May 3, 2024

Hi @tomasonjo ! Thank you for the great functionality added! Curious if there is any research supporting exactly this solution or it's just based on your experience? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:enhancement A large net-new component, integration, or chain. Use sparingly. The largest features Ɑ: models Related to LLMs or chat model modules size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants