Class TextResourceSearchTool
java.lang.Object
ch.tocco.nice2.optional.aiassistant.impl.textresource.TextResourceSearchTool
Lets the LLM look up how the software translates the texts it finds in the source-language context.
The languages are fixed per request, the LLM only chooses what to search.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTextResourceSearchTool(TextResourceSearchService searchService, Locale source, Locale target) -
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
TextResourceSearchTool
public TextResourceSearchTool(TextResourceSearchService searchService, Locale source, Locale target)
-
-
Method Details
-
description
-
parameterSchema
-
call
public List<TextResourceSearchService.TermTranslations> call(TextResourceSearchTool.Arguments arguments)
-