-
Notifications
You must be signed in to change notification settings - Fork 19k
docs: add Timbr tools integration #32862
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
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
CodSpeed WallTime Performance ReportMerging #32862 will improve performances by 17.55%Comparing
|
Benchmark | BASE |
HEAD |
Change | |
---|---|---|---|---|
⚡ | test_import_time[InMemoryVectorStore] |
688.8 ms | 619.4 ms | +11.2% |
⚡ | test_import_time[RunnableLambda] |
560.7 ms | 477 ms | +17.55% |
CodSpeed Instrumentation Performance ReportMerging #32862 will not alter performanceComparing Summary
|
feat(integrations): Add Timbr tools integration
DESCRIPTION
This PR adds comprehensive documentation and integration support for Timbr's semantic layer tools in LangChain.
Timbr provides an ontology-driven semantic layer that enables natural language querying of databases through business-friendly concepts. It connects raw data to governed business measures for consistent access across BI, APIs, and AI applications.
langchain-timbr
is a Python SDK that extends LangChain and LangGraph with custom agents, chains, and nodes for seamless integration with the Timbr semantic layer. It enables converting natural language prompts into optimized semantic-SQL queries and executing them directly against your data.What's Added:
langchain-timbr
packageIntegration Components:
IdentifyTimbrConceptChain
- Identify relevant concepts from user promptsGenerateTimbrSqlChain
- Generate SQL queries from natural languageValidateTimbrSqlChain
- Validate queries against knowledge graph schemasExecuteTimbrQueryChain
- Execute queries against semantic databasesGenerateAnswerChain
- Generate human-readable answers from resultsDocumentation Added
/docs/integrations/providers/timbr.mdx
- Provider overview and configuration/docs/integrations/tools/timbr.ipynb
- Comprehensive tool usage examplesLinks