DF-0
DF-0: Data processing Framework with Zero-overhead
Loading...
Searching...
No Matches
local_ai_summarize.h
1/**************************************************************************/
2/* */
3/* DF-0: Data processing Framework with Zero-overhead */
4/* */
5/* Copyright (c) DF-0 Team https://github.com/df0-io/df0 */
6/* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-DF0-Commercial */
7/* */
8/**************************************************************************/
9
10#ifndef DF0_LOCAL_AI_SUMMARIZE_H
11#define DF0_LOCAL_AI_SUMMARIZE_H
12
13#include "ai_summarize.h"
14
15namespace df0::ai::local {
16
17class summarize
18 : public df0::pipeline::transformer_element<summarize>
19 , public df0::ai::summarize
20{
21public:
22 explicit summarize(
23 std::shared_ptr<df0::ai::ai_runner> runner,
24 model_lifetime_policy lifetime = model_lifetime_policy::persistent)
25 : df0::ai::summarize(runner, lifetime){};
26};
27
28} // namespace df0::ai::local
29
30#endif // DF0_LOCAL_AI_SUMMARIZE_H