Package com.mindee.v2.cli
Class SearchRagDocumentsCommand
- java.lang.Object
-
- com.mindee.v2.cli.BaseCommand
-
- com.mindee.v2.cli.SearchRagDocumentsCommand
-
public class SearchRagDocumentsCommand extends BaseCommand
CLI command for searching available V2 RAG documents.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.mindee.v2.cli.BaseCommand
BaseCommand.OutputType
-
-
Field Summary
-
Fields inherited from class com.mindee.v2.cli.BaseCommand
apiKey, output
-
-
Constructor Summary
Constructors Constructor Description SearchRagDocumentsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercall()protected StringgetFullOutput(CommonResponse response)Returns the full string for the given response.protected StringgetSummaryOutput(CommonResponse response)Returns the summary string for the given response.-
Methods inherited from class com.mindee.v2.cli.BaseCommand
printOutput
-
-
-
-
Method Detail
-
getSummaryOutput
protected String getSummaryOutput(CommonResponse response)
Description copied from class:BaseCommandReturns the summary string for the given response. Override in each command.- Specified by:
getSummaryOutputin classBaseCommand- Parameters:
response- the response- Returns:
- the summary string
-
getFullOutput
protected String getFullOutput(CommonResponse response)
Description copied from class:BaseCommandReturns the full string for the given response.- Specified by:
getFullOutputin classBaseCommand- Parameters:
response- the product response- Returns:
- the full output string
-
-