Interface OpenAIEndpointBuilderFactory.OpenAIBuilders

All Known Subinterfaces:
EndpointBuilderFactory
All Known Implementing Classes:
EndpointRouteBuilder, EndpointRouteConfigurationBuilder
Enclosing interface:
OpenAIEndpointBuilderFactory

public static interface OpenAIEndpointBuilderFactory.OpenAIBuilders
  • Method Details

    • openai

      OpenAI (camel-openai) OpenAI endpoint for chat completion and embeddings. Category: ai Since: 4.17 Maven coordinates: org.apache.camel:camel-openai
      Returns:
      the dsl builder for the headers' name.
    • openai

      OpenAI (camel-openai) OpenAI endpoint for chat completion and embeddings. Category: ai Since: 4.17 Maven coordinates: org.apache.camel:camel-openai Syntax: openai:operation Path parameter: operation (required) The operation to perform: 'chat-completion' or 'embeddings' There are 2 enums and the value can be one of: chat-completion, embeddings
      Parameters:
      path - operation
      Returns:
      the dsl builder
    • openai

      default OpenAIEndpointBuilderFactory.OpenAIEndpointBuilder openai(String componentName, String path)
      OpenAI (camel-openai) OpenAI endpoint for chat completion and embeddings. Category: ai Since: 4.17 Maven coordinates: org.apache.camel:camel-openai Syntax: openai:operation Path parameter: operation (required) The operation to perform: 'chat-completion' or 'embeddings' There are 2 enums and the value can be one of: chat-completion, embeddings
      Parameters:
      componentName - to use a custom component name for the endpoint instead of the default name
      path - operation
      Returns:
      the dsl builder