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.2.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.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_tools_ceramic-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7aa11f54ce03e8dcf0fb15036c8d4e626dcfd4d85caab50f8fea68ad2478823f
MD5 b3b9dc0fc178486e82b520b0bc74f4ab
BLAKE2b-256 c8b22612fc62840ce3d908f600b7eb0f4217d81b83888bbe65cc2bf149806b8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_tools_ceramic-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3737b8d5cacd97b2207c350ed3814d1f7ebaf09b0473b11dc9ac28dec8162a75
MD5 37110c277a52d35a8dcc70eeba40a58d
BLAKE2b-256 2aade9fc75f92d3baf1ac12b7a86c51a7139a2b7e135045e0d87843b258458ca

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