Interface LibrarySupportLogic.LiteralTranslationOptionsResolver

Enclosing class:
LibrarySupportLogic
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface LibrarySupportLogic.LiteralTranslationOptionsResolver
Resolves immutable options for the private literal-translation request pipeline.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.webjetcms.ai.TranslationOptions
    resolve(String instructions)
    Resolves provider-neutral translation options from assistant configuration.
  • Method Details

    • resolve

      com.webjetcms.ai.TranslationOptions resolve(String instructions) throws IOException
      Resolves provider-neutral translation options from assistant configuration.
      Parameters:
      instructions - assistant instructions containing translation configuration
      Returns:
      validated translation options
      Throws:
      IOException - if the translation configuration is invalid