Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_tools_ceramic-0.1.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_tools_ceramic-0.1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_tools_ceramic-0.1.3.tar.gz.

File metadata

File hashes

Hashes for llama_index_tools_ceramic-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e5b74103b670ef0e0a55bcf4c95a1e61e667d5f4eebcea96f6139c60a9a53fcb
MD5 f68b780ae2f94a327803e6d8a02c9ac2
BLAKE2b-256 1d900c9cfb313074e19bde06efbf28c5df30acb43c213edf5e0847862bc0dd02

See more details on using hashes here.

File details

Details for the file llama_index_tools_ceramic-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_tools_ceramic-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4cc1581a9782b2acc77ac7ff245ccc6325ddb0ef7bd95fa1ed6bd941db194174
MD5 c173796e1491f148e21a29c7610c454c
BLAKE2b-256 8a5bac7d2562d1d18cc7f5cf535e2165a3b051cd6177b1187bcb253bdeb8e2e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page