LlamaIndex Readers Integration: Oracleai
There are two classes here:
- OracleReader: This API is to load document(s) from a file or a directory or a Oracle Database table.
- OracleTextSplitter: This API is to split a document into chunks with a lots of customizations.
pip install llama-index-readers-oracleai
A sample example
# get the Oracle connection
conn = oracledb.connect(
user="",
password="",
dsn="",
)
print("Oracle connection is established...")
# params
loader_params = {"owner": "ut", "tablename": "demo_tab", "colname": "data"}
splitter_params = {"by": "words", "max": "100"}
# instances
loader = OracleReader(conn=conn, params=loader_params)
splitter = OracleTextSplitter(conn=conn, params=splitter_params)
print("Processing the documents...")
docs = loader.load()
for id, doc in enumerate(docs, start=1):
print(f"Document#{id}, Metadata: {doc.metadata}")
chunks = splitter.split_text(doc.text)
print(f"Document#{id}, Num of Chunk: {len(chunks)}\n")
conn.close()
print("Connection is closed.")
Metadata
Release files for llama-index-readers-oracleai 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_readers_oracleai-0.5.0.tar.gz | 6.6 kB | Without provenance | Details for llama_index_readers_oracleai-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_oracleai-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_oracleai-0.5.0-py3-none-any.whl |
Total release size: 12.8 kB
Release files / llama_index_readers_oracleai-0.5.0.tar.gz
| Download URL | llama_index_readers_oracleai-0.5.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3468528841fe6412266362f73310fed5dcdf96a7b7697c19a4156bb135b72b9
|
|
BLAKE2b-256 checksum How to use checksums |
789a863f67ee7a96d13097d565797ae952cdb9ea56756549b3921b8f3b7c72a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_readers_oracleai-0.5.0-py3-none-any.whl
| Download URL | llama_index_readers_oracleai-0.5.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7baa1c77605c0e40503de958b9abfa00019a1e6bad41af71796ae1b83922d820
|
|
BLAKE2b-256 checksum How to use checksums |
2cf7100ee269c3720d2f495e6751013380cbe16f754550a675ed87d81aaf1445
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-readers-oracleai 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.