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. For detailed documentation and tutorials, see the Lexy documentation.
Usage
Init client
from lexy_py import LexyClient
lx = LexyClient()
Add documents
lx.add_documents([
{"content": "This is a test document"},
{"content": "This is another one!"},
])
Query index
lx.query_index("test query", index_id="default_text_embeddings", k=5)
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.3.tar.gz
(17.5 kB
view details)
Built Distribution
lexy_py-0.0.3-py3-none-any.whl
(26.1 kB
view details)
File details
Details for the file lexy_py-0.0.3.tar.gz
.
File metadata
- Download URL: lexy_py-0.0.3.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 809cdb9b72254da5566d5400f1af77e8177aa2978a8e5e5f601c111a1be8302a |
|
MD5 | 9eb1f25e284a6d83037eb09190b4e147 |
|
BLAKE2b-256 | ae8e6e354f563f2ce424ce6c1414041a11ff6e0fa31994b36632e22cf456618b |
File details
Details for the file lexy_py-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: lexy_py-0.0.3-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 | 37d6d16c2b8fe44bf71c39daa4804f03c604ac329f9f91c3feca07791ef339b2 |
|
MD5 | 0b898c672c42782318cd1ea2fbe180f1 |
|
BLAKE2b-256 | 089a12ca689b1827a20c6b87e7859527ebbe6558e2ab2411ee0df3c4332b4ec8 |