Home
last modified time | relevance | path

Searched refs:intent_info (Results 1 – 15 of 15) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/components/quick_answers/utils/
H A Dquick_answers_utils.cc25 const PreprocessedOutput PreprocessRequest(const IntentInfo& intent_info) { in PreprocessRequest() argument
27 processed_output.intent_info = intent_info; in PreprocessRequest()
28 processed_output.query = intent_info.intent_text; in PreprocessRequest()
30 switch (intent_info.intent_type) { in PreprocessRequest()
33 kUnitConversionQueryRewriteTemplate, intent_info.intent_text.c_str()); in PreprocessRequest()
37 kDictionaryQueryRewriteTemplate, intent_info.intent_text.c_str()); in PreprocessRequest()
41 kTranslationQueryRewriteTemplate, intent_info.intent_text.c_str()); in PreprocessRequest()
64 std::string BuildTranslationTitleText(const IntentInfo& intent_info) { in BuildTranslationTitleText() argument
66 intent_info.source_language, intent_info.target_language, true); in BuildTranslationTitleText()
68 base::UTF8ToUTF16(intent_info.intent_text), in BuildTranslationTitleText()
H A Dquick_answers_utils.h13 const PreprocessedOutput PreprocessRequest(const IntentInfo& intent_info);
24 std::string BuildTranslationTitleText(const IntentInfo& intent_info);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/components/quick_answers/
H A Dtranslation_result_loader.cc45 std::string BuildTranslationRequestBody(const IntentInfo& intent_info) { in BuildTranslationRequestBody() argument
49 query.Append(intent_info.intent_text); in BuildTranslationRequestBody()
52 payload.SetKey(kSourceLanguageKey, Value(intent_info.source_language)); in BuildTranslationRequestBody()
53 payload.SetKey(kTargetLanguageKey, Value(intent_info.target_language)); in BuildTranslationRequestBody()
86 BuildTranslationTitleText(preprocessed_output.intent_info)); in ProcessResponse()
104 BuildTranslationRequestBody(preprocessed_output.intent_info)); in OnRequestAccessTokenComplete()
H A Dquick_answers_client_unittest.cc61 arg.preprocessed_output.intent_info.intent_type ==
62 quick_answers_request.preprocessed_output.intent_info.intent_type &&
63 arg.preprocessed_output.intent_info.intent_text ==
64 quick_answers_request.preprocessed_output.intent_info.intent_text &&
116 void IntentGeneratorTestCallback(const IntentInfo& intent_info) {} in IntentGeneratorTestCallback() argument
374 expected_processed_output.intent_info.intent_text = "unfathomable"; in TEST_F()
376 expected_processed_output.intent_info.intent_type = IntentType::kDictionary; in TEST_F()
397 expected_processed_output.intent_info.intent_text = "intent text"; in TEST_F()
399 expected_processed_output.intent_info.intent_type = IntentType::kTranslation; in TEST_F()
420 expected_processed_output.intent_info.intent_text = "20ft"; in TEST_F()
[all …]
H A Dquick_answers_client.cc111 preprocessed_request.preprocessed_output.intent_info.intent_type); in FetchQuickAnswers()
188 const IntentInfo& intent_info) { in IntentGeneratorCallback() argument
193 processed_request.preprocessed_output = PreprocessRequest(intent_info); in IntentGeneratorCallback()
198 RecordIntentType(intent_info.intent_type); in IntentGeneratorCallback()
199 if (intent_info.intent_type == IntentType::kUnknown) { in IntentGeneratorCallback()
H A Dquick_answers_model.h159 IntentInfo intent_info; member
H A Dquick_answers_client.h141 const IntentInfo& intent_info);
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/quick_answers/
H A Dquick_answers_controller_impl.cc50 return (request.preprocessed_output.intent_info.intent_type != in IsProcessedRequest()
105 IntentTypeToString(request.preprocessed_output.intent_info.intent_type), in HandleQuickAnswerRequest()
106 base::UTF8ToUTF16(request.preprocessed_output.intent_info.intent_text)); in HandleQuickAnswerRequest()
182 processed_request.preprocessed_output.intent_info.intent_type; in OnRequestPreprocessFinished()
192 title_ = processed_request.preprocessed_output.intent_info.intent_text; in OnRequestPreprocessFinished()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/components/quick_answers/understanding/
H A Dintent_generator.h29 base::OnceCallback<void(const IntentInfo& intent_info)>;
H A Dintent_generator_unittest.cc61 void IntentGeneratorTestCallback(const IntentInfo& intent_info) { in IntentGeneratorTestCallback() argument
62 intent_info_ = intent_info; in IntentGeneratorTestCallback()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/arc/mojom/
H A Dintent_helper.mojom316 // and |intent_info|.
318 // user preference. The |intent_info| is used to generate the components set
323 IntentInfo intent_info);
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/arc/mojom/
H A Dintent_helper.mojom343 // and |intent_info|.
345 // user preference. The |intent_info| is used to generate the components set
350 IntentInfo intent_info);
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/arc/intent_helper/
H A Darc_intent_helper_bridge.cc234 base::DictionaryValue intent_info; in LaunchCameraApp() local
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/arc/intent_helper/
H A Darc_intent_helper_bridge.cc241 base::DictionaryValue intent_info; in LaunchCameraApp() local
/dports/cad/cura/Cura-58bae31/plugins/3MFReader/
H A DThreeMFWorkspaceReader.py101 self.intent_info = None
490 extruder_info.intent_info = instance_container_info_dict[intent_id]