llama-index tools ceramic integration
Project description
llama-index-tools-ceramic
LlamaIndex tool integration for Ceramic AI search.
Installation
pip install llama-index-tools-ceramic llama-index-llms-openai
Usage
import asyncio
import os
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
from llama_index.tools.ceramic import CeramicToolSpec
ceramic_tool = CeramicToolSpec(api_key=os.environ["CERAMIC_API_KEY"])
agent = FunctionAgent(
tools=ceramic_tool.to_tool_list(),
llm=OpenAI(model="gpt-5.4"),
)
async def main():
response = await agent.run("What are the latest California tenant protection laws?")
print(response)
asyncio.run(main())
Get a Ceramic API key at platform.ceramic.ai/keys.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_tools_ceramic-0.1.3.tar.gz.
File metadata
- Download URL: llama_index_tools_ceramic-0.1.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5b74103b670ef0e0a55bcf4c95a1e61e667d5f4eebcea96f6139c60a9a53fcb
|
|
| MD5 |
f68b780ae2f94a327803e6d8a02c9ac2
|
|
| BLAKE2b-256 |
1d900c9cfb313074e19bde06efbf28c5df30acb43c213edf5e0847862bc0dd02
|
File details
Details for the file llama_index_tools_ceramic-0.1.3-py3-none-any.whl.
File metadata
- Download URL: llama_index_tools_ceramic-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cc1581a9782b2acc77ac7ff245ccc6325ddb0ef7bd95fa1ed6bd941db194174
|
|
| MD5 |
c173796e1491f148e21a29c7610c454c
|
|
| BLAKE2b-256 |
8a5bac7d2562d1d18cc7f5cf535e2165a3b051cd6177b1187bcb253bdeb8e2e4
|