CliConfig class
Configuration for the CLI
Constructors
- CliConfig({required String embeddingExtension, required String encoding, required String inputDirectory, required String inputPath, required int maxFileSize, required String mode, required String outputDirectory, required String outputPath, required String textProcessingMode, required bool verbose, required String ollamaUrl, required String ollamaModel, required int ollamaTimeoutMs})
- CliConfig.fromDefault()
-
Create CliConfig from DefaultConfig with default values
factory
Properties
- embeddingExtension → String
-
final
- encoding → String
-
Encoding
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputDirectory → String
-
Input directory
final
- inputPath → String
-
Input path
final
- maxFileSize → int
-
Maximum file size
final
- mode → String
-
Mode
final
- ollamaModel → String
-
Ollama model for embeddings
final
- ollamaTimeoutMs → int
-
Ollama request timeout in milliseconds
final
- ollamaUrl → String
-
Ollama server URL
final
- outputDirectory → String
-
Output directory
final
- outputPath → String
-
Output path
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textProcessingMode → String
-
Text processing mode
final
- textProcessingModeEnum → TextProcessingMode
-
Get TextProcessingMode from textProcessingMode string
no setter
- verbose → bool
-
Verbose mode
final
Methods
-
copyWith(
{String? ollamaUrl, String? ollamaModel, int? ollamaTimeoutMs, bool? verbose, String? inputPath, String? outputPath, String? mode, String? encoding, int? maxFileSize, String? embeddingExtension, String? textProcessingMode, String? outputDirectory, String? inputDirectory}) → CliConfig - CopyWith method
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited