DocWire SDK
DocWire SDK: Deterministic, auditable, and secure data processing in C++20. On-premise by default. No compromises on computational speed.
Loading...
Searching...
No Matches
detect_sentiment.h
1/*********************************************************************************************************************************************/
2/* DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. */
3/* Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, */
4/* document analysis. Offline processing possible for security and confidentiality */
5/* */
6/* Copyright (c) SILVERCODERS Ltd, http://silvercoders.com */
7/* Project homepage: https://github.com/docwire/docwire */
8/* */
9/* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-DocWire-Commercial */
10/*********************************************************************************************************************************************/
11
12#ifndef DOCWIRE_OPENAI_DETECT_SENTIMENT_H
13#define DOCWIRE_OPENAI_DETECT_SENTIMENT_H
14
15#include "chat.h"
16
17namespace docwire
18{
19namespace openai
20{
21
22class DOCWIRE_OPENAI_EXPORT detect_sentiment
23 : public pipeline::transformer_element<detect_sentiment>
24 , public chat
25{
26public:
27 detect_sentiment(const std::string& api_key, model model = model::gpt_5, float temperature = 0, image_detail image_detail = image_detail::automatic);
28};
29
30} // namespace openai
31} // namespace docwire
32
33#endif //DOCWIRE_OPENAI_DETECT_SENTIMENT_H
The main namespace for the DocWire SDK.
Definition ai_elements.h:19