A Python client for Lexy. Lexy is a data framework for building AI applications.
Project description
Lexy Python SDK
This is the Python SDK for Lexy.
Usage
Initiate client
from lexy_py import LexyClient
lexy = LexyClient()
Add documents
lexy.add_documents([
{"content": "This is a test document"},
{"content": "This is another one!"},
])
Query index
lexy.query_index("test query", index_id="default_text_embeddings", k=5)
Testing
pytest sdk-python
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
lexy_py-0.0.2.tar.gz
(17.4 kB
view details)
Built Distribution
lexy_py-0.0.2-py3-none-any.whl
(26.1 kB
view details)
File details
Details for the file lexy_py-0.0.2.tar.gz
.
File metadata
- Download URL: lexy_py-0.0.2.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8254e90719abdf4b5625012b4d513976caafdc3d362f4a69d4ec98273dca16f8 |
|
MD5 | 6dadc13e20425847e4ebb3d662ef26ff |
|
BLAKE2b-256 | efdebd8282b7fbc2abb53b49f330a22ec7d6835ff4d20faa810f4c0a779c172c |
File details
Details for the file lexy_py-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: lexy_py-0.0.2-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4844ca49ae821dce6de7ae5b58a59bc08d7aa2d5e5675280cf4c9b5a75a0ef63 |
|
MD5 | a042dc6499554e601787da479044b4a5 |
|
BLAKE2b-256 | 0cf0e931bc35ef1c335e974f559257de0b3956482045e0bb9a7b5f7c2c01f3c9 |