Class OpenAiAssistantGeneratorProperties

java.lang.Object
ai.yda.framework.rag.generator.assistant.openai.autoconfigure.OpenAiAssistantGeneratorProperties

@ConfigurationProperties("ai.yda.framework.rag.generator.assistant.openai") public class OpenAiAssistantGeneratorProperties extends Object
Provides configuration properties for OpenAi Assistant Generator. These properties can be customized through the application’s external configuration, such as a properties file, YAML file, or environment variables. The properties include Assistant id settings.

The properties are prefixed with CONFIG_PREFIX and can be customized by defining values under this prefix in the external configuration.

 Example configuration in a YAML file:

 ai:
   yda:
     framework:
       rag:
          generator:
              assistant:
                  openai:
                      assistantId: your-assistant-id
 
Since:
0.1.0
  • Field Details

    • CONFIG_PREFIX

      public static final String CONFIG_PREFIX
      The configuration prefix used to reference properties related to the Assistant Generator in application configurations. This prefix is used for binding properties within the particular namespace.
      See Also:
  • Constructor Details