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.7.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.7.0
File Size Uploaded Provenance Actions
llama_index_llms_octoai-0.7.0.tar.gz 5.7 kB Without provenance Details for llama_index_llms_octoai-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 11.2 kB

Release files / llama_index_llms_octoai-0.7.0.tar.gz

Download URL llama_index_llms_octoai-0.7.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0abc968ca258846cb45e835673c63bf6f91515695972755c9de9c0cc2d573745
BLAKE2b-256 checksum
How to use checksums
3735a044cc0bb5b27fff07165cf9d8552e166672c6adbf1dcf3c94694822e1d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.7.0-py3-none-any.whl

Download URL llama_index_llms_octoai-0.7.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c6383470353274ff15873907be3e0e92817af0e420ae6e7b3435149819ec937
BLAKE2b-256 checksum
How to use checksums
8e3ca7829d3bd7fd5da01bfa503709949e79bac3cabca1a21a2bbfbb674430e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.7.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