Skip to content

Conversation

wpbarco
Copy link

@wpbarco wpbarco commented Sep 9, 2025

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:

  • Complete integration documentation for langchain-timbr package
  • Tool documentation page with usage examples and API reference

Integration Components:

  • IdentifyTimbrConceptChain - Identify relevant concepts from user prompts
  • GenerateTimbrSqlChain - Generate SQL queries from natural language
  • ValidateTimbrSqlChain - Validate queries against knowledge graph schemas
  • ExecuteTimbrQueryChain - Execute queries against semantic databases
  • GenerateAnswerChain - Generate human-readable answers from results

Documentation Added

  • /docs/integrations/providers/timbr.mdx - Provider overview and configuration
  • /docs/integrations/tools/timbr.ipynb - Comprehensive tool usage examples

Links

Copy link

vercel bot commented Sep 9, 2025

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

Project Deployment Preview Comments Updated (UTC)
langchain Ready Ready Preview Comment Sep 12, 2025 2:46am

Copy link

codspeed-hq bot commented Sep 9, 2025

CodSpeed WallTime Performance Report

Merging #32862 will improve performances by 17.55%

Comparing wpbarco:timbr-tools-integrations (12899db) with master (338d3d2)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

⚡ 2 improvements
✅ 11 untouched

Benchmarks breakdown

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%

Copy link

codspeed-hq bot commented Sep 9, 2025

CodSpeed Instrumentation Performance Report

Merging #32862 will not alter performance

Comparing wpbarco:timbr-tools-integrations (12899db) with master (338d3d2)

Summary

✅ 14 untouched

@wpbarco wpbarco changed the title Add langchain-timbr tools integration docs & samples feat(docs): add Timbr tools integration Sep 9, 2025
@wpbarco wpbarco changed the title feat(docs): add Timbr tools integration feat(docs): Add Timbr tools integration Sep 9, 2025
@wpbarco wpbarco marked this pull request as ready for review September 9, 2025 11:21
@wpbarco wpbarco requested a review from ccurme as a code owner September 9, 2025 11:21
@mdrxy mdrxy added new-integration Adding a new partner library package INTERNAL-MAINTAINER-NOTE-move-to-new-repo FOR LANGCHAIN STAFF labels Sep 9, 2025
@mdrxy mdrxy self-assigned this Sep 9, 2025
@mdrxy mdrxy changed the title feat(docs): Add Timbr tools integration docs: Add Timbr tools integration Sep 11, 2025
@mdrxy mdrxy changed the title docs: Add Timbr tools integration docs: add Timbr tools integration Sep 11, 2025
@mdrxy mdrxy added the documentation Improvements or additions to documentation label Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation INTERNAL-MAINTAINER-NOTE-move-to-new-repo FOR LANGCHAIN STAFF new-integration Adding a new partner library package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants