Skip to content

LangChain

This section details KDB.AI and the integration with LangChain.

KDB.AI can integrate with LangChain, which utilizes LLMs to offer a more human-like interaction.

LangChain is a framework designed to simplify the creation of applications using large language models. As a language model integration framework, LangChain's use-cases largely overlap with those of language models in general, including document analysis and summarization, chatbots, and code analysis. - Wikipedia

Check out the official LangChain repository on GitHub.

Getting Started

Prerequisites

  • Python 3
  • Pip
  • Git

Install

pip install ipython jupyter pyarrow openai pypdf tiktoken kdbai-client langchain

Start Jupyter

jupyter notebook
If you need help with the integration, feel free to reach out to the KDB.AI Slack community or email support@kdb.ai.

Examples