git clone https://github.com/crate/langchain-cratedb.git
cd langchain-cratedb
poetry install --with lint,test,typing
docker run --rm \
--publish=4200:4200 --publish=5432:5432 --env=CRATE_HEAP_SIZE=2g \
crate:latest -Cdiscovery.type=single-node
Run linters and software tests.
make check
Format code.
make format
Run tests selectively.
pytest -vvv tests/test_docs.py tests/test_examples.py
pytest -vvv -k standard
pytest -vvv -k cratedb
poetry build
twine upload --skip-existing dist/*{.tar.gz,.whl}
This package has been bootstrapped using langchain-cli integration new
,
see also How to implement an integration package.
Other fragments have been derived from langchain-datastax, langchain-mongodb, and langchain-postgres.