New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cassandra database tool #13423
Cassandra database tool #13423
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
llama-index-integrations/tools/llama-index-tools-cassandra/pyproject.toml
Show resolved
Hide resolved
llama-index-integrations/tools/llama-index-tools-cassandra/examples/casssandra.ipynb
Outdated
Show resolved
Hide resolved
…r notebook to docs.
llama-index-integrations/tools/llama-index-tools-cassandra/llama_index/tools/cassandra/base.py
Outdated
Show resolved
Hide resolved
llama-index-integrations/tools/llama-index-tools-cassandra/llama_index/tools/cassandra/base.py
Outdated
Show resolved
Hide resolved
.../tools/llama-index-tools-cassandra/llama_index/tools/cassandra/cassandra_database_wrapper.py
Outdated
Show resolved
Hide resolved
.../tools/llama-index-tools-cassandra/llama_index/tools/cassandra/cassandra_database_wrapper.py
Show resolved
Hide resolved
.../tools/llama-index-tools-cassandra/llama_index/tools/cassandra/cassandra_database_wrapper.py
Outdated
Show resolved
Hide resolved
Typo Co-authored-by: Christophe Bornet <cbornet@hotmail.com>
llama-index-integrations/tools/llama-index-tools-cassandra/llama_index/tools/cassandra/base.py
Outdated
Show resolved
Hide resolved
from typing import Any, Dict, List, Optional, Sequence, Tuple, Union | ||
|
||
from cassandra.cluster import ResultSet, Session | ||
from pydantic import BaseModel, Field, root_validator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably safest to import pydantic from our bridge: from llama_index.core.bridge.pydantic import ...
Seems like some pydantic issues in the cicd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed and merged.
Head branch was pushed to by a user without write access
Summary of Changes
This pull request introduces a new set of tools for integrating LlamaIndex agents with Apache Cassandra® databases. The changes include implementing various Python modules and tools that enhance the querying capabilities and schema introspection of Cassandra databases. These tools support different Cassandra deployments such as Apache Cassandra®, DataStax Enterprise™, and DataStax Astra™.
Dependencies
This change introduces one library dependencies necessary for the tools to function:
New Package?
Did I fill in the
tool.llamahub
section in thepyproject.toml
and provide a detailed README.md for my new integration or package?Version Bump?
Did I bump the version in the
pyproject.toml
file of the package I am updating? (Except for thellama-index-core
package)Type of Change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Suggested Checklist:
make format; make lint
to appease the lint gods