Skip to content

Add support for OCI Generative AI Chat Completions #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant