// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_HISTORY_EMBEDDINGS_ANSWERER_H_ #define COMPONENTS_HISTORY_EMBEDDINGS_ANSWERER_H_ #include <string> #include <vector> #include "base/functional/callback.h" #include "components/optimization_guide/core/model_quality/model_quality_log_entry.h" #include "components/optimization_guide/proto/features/history_answer.pb.h" namespace history_embeddings { // The status of an answer generation attempt. enum class ComputeAnswerStatus { … }; // Holds an answer from the model and associations to source context. struct AnswererResult { … }; ComputeAnswerCallback; // Base class that hides implementation details for how answers are generated. class Answerer { … }; } // namespace history_embeddings #endif // COMPONENTS_HISTORY_EMBEDDINGS_ANSWERER_H_