Skip to main content

LlamaIndex Llms Integration: OctoAI

Using the OctoAI LLMs Integration is a simple as:

from llama_index.llms.octoai import OctoAI

octoai = OctoAI(token=OCTOAI_API_KEY)
response = octoai.complete("Paul Graham is ")
print(response)

Calling chat with a list of messages

from llama_index.core.llms import ChatMessage

messages = [
    ChatMessage(
        role="system",
        content="Below is an instruction that describes a task. Write a response that appropriately completes the request.",
    ),
    ChatMessage(role="user", content="Write a blog about Seattle"),
]
response = octoai.chat(messages)
print(response)

Metadata

Release files for llama-index-llms-octoai 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-llms-octoai 0.8.0
File Size Uploaded Provenance Actions
llama_index_llms_octoai-0.8.0.tar.gz 5.6 kB Without provenance Details for llama_index_llms_octoai-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-llms-octoai 0.8.0
File Interpreter ABI Platform Actions
llama_index_llms_octoai-0.8.0-py3-none-any.whl Python 3 none any Details for llama_index_llms_octoai-0.8.0-py3-none-any.whl

Total release size: 11.2 kB

Release files / llama_index_llms_octoai-0.8.0.tar.gz

Download URL llama_index_llms_octoai-0.8.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
99702d8dcce8d843425dfc280d43aaece5c8277b192529d55545af1e7307772b
BLAKE2b-256 checksum
How to use checksums
5915a606dfa5ded77ed3dcdbe77edfec79919ae3c8efcaa36fd28e01a72f9e6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / llama_index_llms_octoai-0.8.0-py3-none-any.whl

Download URL llama_index_llms_octoai-0.8.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee2f6414ce14150e23ea66e234e3d1bdac9ab74cada1aa27e07d29f1e852c739
BLAKE2b-256 checksum
How to use checksums
971f3f49b4f66f72f31a6127a5a6e884bf992ad8c5523e23061b7485048d48c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for llama-index-llms-octoai 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page