Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Conversation

@speglich
Copy link

This PR introduces a new OCIGenAIChatCompletionsClient to the llmperf framework, enabling benchmark tests using Oracle Cloud Infrastructure's (OCI) Generative AI chat completions endpoints.

The integration leverages the ChatOCIGenAI client from the langchain_community package to interface with OCI’s streaming chat API, supporting metrics collection such as:

  • Time to First Token (TTFT)
  • Inter-token latency
  • End-to-end latency
  • Output throughput
  • Token counts (input/output)

The new client reads necessary configuration from environment variables including OCI_COMPARTMENT_ID, OCI_AUTH_TYPE, OCI_CONFIG_PROFILE, OCI_ENDPOINT, OCI_MODEL_ID, and OCI_PROVIDER.

This addition allows users to include OCI Generative AI in their LLM benchmark suites alongside other providers, improving coverage and flexibility in performance evaluations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant