Class OpenAiAssistantStreamingGeneratorProperties

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

@ConfigurationProperties("ai.yda.framework.rag.generator.assistant.openai.streaming") public class OpenAiAssistantStreamingGeneratorProperties extends Object
Provides configuration properties for streaming 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 assistantId 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:
                      streaming:
                          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 streaming Assistant Generator in application configurations. This prefix is used for binding properties within the particular namespace.
      See Also:
  • Constructor Details