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
Close
Hashes for langchain_kinetica-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a448834aa36dfaa238b6ec471bc47124b86f1db88378c6ad96213b1ea2927c |
|
MD5 | fda528f8d44a588cc14e6057981a049e |
|
BLAKE2b-256 | e9a6e47d8a69635d9e459022608e9e28109e2721076e9e4053ef14d48e53a0e1 |