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 theKineticaChatLLM
.SqlResponse
: If the Kinetica chain ends withKineticaSqlOutputParser
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file langchain-kinetica-1.0.0.tar.gz
.
File metadata
- Download URL: langchain-kinetica-1.0.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489e9c92316d67fab3b642efa8c4a390908427404469d8ce4b1cd54f913c5e20 |
|
MD5 | badbc5c657808e0fe4b70a74082bfd63 |
|
BLAKE2b-256 | 53749be096ad33878c28983d504f0c5bbbf528edebaf7a7e08060cb66ac83918 |
File details
Details for the file langchain_kinetica-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: langchain_kinetica-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a448834aa36dfaa238b6ec471bc47124b86f1db88378c6ad96213b1ea2927c |
|
MD5 | fda528f8d44a588cc14e6057981a049e |
|
BLAKE2b-256 | e9a6e47d8a69635d9e459022608e9e28109e2721076e9e4053ef14d48e53a0e1 |