Add dokimos-openai integration module#149
Merged
Merged
Conversation
Contributor
✅ Eval gate passed
|
Promote the OpenAiAgentTraces example bridge to a published dokimos-openai module. OpenAiSupport provides asJudge plus toAgentTrace/toToolCalls/ toToolDefinitions over the official openai-java SDK, mirroring dokimos-langchain4j, so raw-OpenAI JVM teams can evaluate agent traces by adding one dependency. Updates the example, agent-evaluation docs, and the evaluate-openai plugin skill to use it.
The longer walkthrough still taught the hand-rolled bridge; capture tool calls with OpenAiSupport.toToolCall so it matches the compact tab and the runnable example.
fkapsahili
force-pushed
the
feature/dokimos-openai
branch
from
July 11, 2026 08:30
1da4ee0 to
4ba4196
Compare
Drop the no-arg asJudge(client) overload and the DEFAULT_JUDGE_MODEL constant so the adapter does not bake a default judge model into the public API; callers pass the ChatModel they want.
fkapsahili
added a commit
that referenced
this pull request
Jul 19, 2026
The `dokimos-openai` module merged in #149 but, unlike every other adapter, had no dedicated `integrations/` page and no row in the installation table, so it was undiscoverable from the docs nav. Adds `integrations/openai.md` (setup, `asJudge`, capturing tool calls into an `AgentTrace`, converting tool definitions, and evaluating the trace) mirroring the sibling integration pages, and adds the `dokimos-openai` row to the installation table. Docs build clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the
OpenAiAgentTracesbridge that lives right now indokimos-examplesto a new module, so when using the raw OpenAI Java SDK can easily evaluate agent traces by adding one dependency.OpenAiSupportmirrorsLangChain4jSupport.openai-javais provided-scope / bring your own version.