Integration package connecting ObjectBox and LangChain
Project description
langchain-objectbox
About
This package contains the ObjectBox integrations for LangChain.
Development Notes
Setup
Poetry
Should be installed isolated from rest of system and project's venv (see also https://python-poetry.org/docs/#installation)
# Debian-based Setup of poetry (should be external to venv)
apt-get install -y pipx
pipx install poetry
Ensure your $HOME/.local/bin
is in $PATH
.
Tox
pipx install tox
Initial Package Setup
mkdir -p libs/objectbox # more-or-less blueprinted from other `langchain-<ext>` python projects
cd libs/objectbox
poetry init # answered some questions, added deps: langchain-core, objectbox
poetry add -G test pytest
python3 -m venv .venv
source .venv/bin/activate
poetry install
poetry add -G test langchain
- From
objectbox-langchain/libs/community
, copiedlangchain_community/vectorstores/objectbox.py
tolangchain_objectbox/vectorstores.py
tests/integration_tests/vectorstores/test_objectbox.py
totests/integration_tests/test_objectbox.py
- Deactivated integration tests that use HuggingFace... TODO: Can we have simpler Embeddings (it wanted to download nvidia packages, can ollama be an option here?)
Initial Setup
cd libs/objectbox
poetry install
poetry run pytest
Start Developer Sessions
source .venv/bin/activate
Test
pytest
Build package
poetry build
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_objectbox-0.1.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22ecf031c096104798a3896b4fe6ae0f4eee099943adbbf009c40d13435c5538 |
|
MD5 | a62cb49bfb582ea88ccb24a01c9b3138 |
|
BLAKE2b-256 | 71515ee119406c899a0c50095f62a87484264cbb26303cf121c9ec66aa258c68 |
Close
Hashes for langchain_objectbox-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90b6cf1deb833225135cddae8ed0d2c5d246fc34bedfcdca86a6ae8f5b7d6567 |
|
MD5 | b8a1bff9716915b6d3b8c9f9b1e10f6b |
|
BLAKE2b-256 | 93b92bb1671ff7fc220d8d5f6da6753a1f4a810f6f116700358532fd0a3948bb |