Class MockAIChatBuilder
- java.lang.Object
-
- net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
-
- net.stoerr.ai.aigenpipeline.framework.task.MockAIChatBuilder
-
- All Implemented Interfaces:
net.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
public class MockAIChatBuilder extends net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
Mock implementation of AIChatBuilder for testing purposes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl.ChatCompletionRequest, net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl.ChatCompletionResponse, net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl.Message
-
-
Field Summary
-
Fields inherited from class net.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
ANTHROPIC_DEFAULT_VERSION, apiKey, CODEBLOCK_PATTERN, DEFAULT_MAX_TOKENS, ENV_ANTHROPIC_API_KEY, ENV_ANTHROPIC_VERSION, ENV_OPENAI_API_KEY, gson, maxTokens, messages, model, MODEL_OPENAIJSON, organizationId, ROLE_ASSISTANT, ROLE_SYSTEM, ROLE_USER, url
-
-
Constructor Summary
Constructors Constructor Description MockAIChatBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute()
-
-
-
Method Detail
-
execute
public String execute()
- Specified by:
execute
in interfacenet.stoerr.ai.aigenpipeline.framework.chat.AIChatBuilder
- Overrides:
execute
in classnet.stoerr.ai.aigenpipeline.framework.chat.OpenAIChatBuilderImpl
-
-