Package ai.dat.core.factories
Class DefaultAskdataAgentFactory
java.lang.Object
ai.dat.core.factories.DefaultAskdataAgentFactory
- All Implemented Interfaces:
AskdataAgentFactory,Factory
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfigOption<String>static final Stringstatic final ConfigOption<String>static final ConfigOption<Boolean>static final ConfigOption<String>static final ConfigOption<String>static final ConfigOption<Integer>static final ConfigOption<String>static final ConfigOption<Boolean>static final ConfigOption<String>static final ConfigOption<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(@NonNull ReadableConfig config, List<SemanticModel> semanticModels, @NonNull ContentStore contentStore, @NonNull List<ChatModelInstance> chatModelInstances, @NonNull DatabaseAdapter databaseAdapter, Map<String, Object> variables) Set<ConfigOption<?>>Set<ConfigOption<?>>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.dat.core.factories.AskdataAgentFactory
create
-
Field Details
-
IDENTIFIER
- See Also:
-
DEFAULT_LLM
-
LANGUAGE
-
INTENT_CLASSIFICATION
-
INTENT_CLASSIFICATION_LLM
-
SQL_GENERATION_REASONING
-
SQL_GENERATION_REASONING_LLM
-
SQL_GENERATION_LLM
-
MAX_HISTORIES
-
TEXT_TO_SQL_RULES
-
INSTRUCTION
-
-
Constructor Details
-
DefaultAskdataAgentFactory
public DefaultAskdataAgentFactory()
-
-
Method Details
-
requiredOptions
- Specified by:
requiredOptionsin interfaceFactory
-
optionalOptions
- Specified by:
optionalOptionsin interfaceFactory
-
factoryIdentifier
- Specified by:
factoryIdentifierin interfaceFactory
-
factoryDescription
- Specified by:
factoryDescriptionin interfaceAskdataAgentFactory
-
create
public AskdataAgent create(@NonNull @NonNull ReadableConfig config, List<SemanticModel> semanticModels, @NonNull @NonNull ContentStore contentStore, @NonNull @NonNull List<ChatModelInstance> chatModelInstances, @NonNull @NonNull DatabaseAdapter databaseAdapter, Map<String, Object> variables) - Specified by:
createin interfaceAskdataAgentFactory
-