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-agent-openai

Usage

import os
from llama_index.tools.ceramic import CeramicToolSpec
from llama_index.agent.openai import OpenAIAgent

ceramic_tool = CeramicToolSpec(api_key=os.environ["CERAMIC_API_KEY"])

agent = OpenAIAgent.from_tools(
    ceramic_tool.to_tool_list(),
    verbose=True,
)

response = agent.chat("What are the latest California tenant protection laws?")
print(response)

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.1.tar.gz (2.7 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.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_tools_ceramic-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cc8dcdb3ed6130c77f1a15bea6f72da247ee0567490a2e481d97b041e6282012
MD5 0680afefc597851fe2f6235a5f25a416
BLAKE2b-256 e1cfeaac8431cd9a569d4de3c1f63dd7954144ced63bdbb16ec9a33dc43eaee3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_tools_ceramic-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b48cc62251df5befedcbade6862e9d05ba23c52aa75a566c7a9097f6a144a9b
MD5 03616bb1866bdd599aa2c35c4ecbcdff
BLAKE2b-256 d71f27a5c738e9c26bc705087850e02dd532fd2a69b14dc94b4746a318b30a19

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