Skip to main content

Kinetica intefrace for Langchain.

Reason this release was yanked:

moving to langchain-community package

Project description

langchain-kinetica

Kinetica intefrace for Langchain. See the LLM documentation for an overview of the Kinetica LLM.

1. Prerequisites

To use langchain with Kinetica you will need:

  • Python runtime >3.10
  • Kinetica SqlAssist LLM
  • Kinetica instance >7.2.0 configured to use SqlAssist.

2. Package Contents

  • KineticaChatLLM: ChatModel for converting natural language to SQL.
  • KineticaSqlOutputParser: OutputParser that will execute SQL from the KineticaChatLLM.
  • SqlResponse: If the Kinetica chain ends with KineticaSqlOutputParser then this response will contain the generated SQL and results from its execution.

3. Installation

This project is not yet available on pypi. You can install it directly from the repository.

$ pip install "langchain-kinetica @ git+ssh://git@github.com/kineticadb/langchain-kinetica.git"

4. Usage

See the Kinetica LLM Demo notebook for examples.

5. Building

Install the project locally.

$ pip install --editable .

You will need to install the build utility.

$ pip install --upgrade build

Build the project

$ python3 -m build

The build will generate a .whl file that can be distributed.

$ ls -1 ./dist
langchain-kinetica-1.0.tar.gz
langchain_kinetica-1.0-py3-none-any.whl

6. See Also

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain-kinetica-1.0.0.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

langchain_kinetica-1.0.0-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page