Debian Codegraph @

include/kylin-ai/genai/text/chatmessage.h

raw symbols SCIP
1 /*
2 * Copyright 2024 KylinSoft Co., Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License as published by the Free Software
6 * Foundation, either version 3 of the License, or (at your option) any later
7 * version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12 * details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
18 #ifndef __KYLIN_AI_GEN_AI_TEXT_CHAT_MESSAGE_H__
19 #define __KYLIN_AI_GEN_AI_TEXT_CHAT_MESSAGE_H__cxx . . $ `include/kylin-ai/genai/text/chatmessage.h:19:9`!
20
21 #include <common/macros.h>
22
23 #ifdef __cpluspluscxx . . $ `<built-in>:470:9`!
24 extern "C" {
25 #endif
26
27 typedef struct _ChatMessagecxx . . $ _ChatMessage# ChatMessage;
28
29 AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`!
30 ChatMessage *chat_message_create();
31
32 AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`!
33 void chat_message_destroy(ChatMessage **chat_message);
34
35 AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`!
36 void chat_message_add_system_message(ChatMessage *chat_message,
37 const char *message);
38
39 AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`!
40 void chat_message_add_user_message(ChatMessage *chat_message,
41 const char *message);
42
43 AISDK_EXTERNcxx . . $ `<external>/16012735566347328758/macros.h:21:9`!
44 void chat_message_add_assistant_message(ChatMessage *chat_message,
45 const char *message);
46
47 #ifdef __cpluspluscxx . . $ `<built-in>:470:9`!
48 }
49 #endif
50
51 #endif // __KYLIN_AI_GEN_AI_TEXT_CHAT_MESSAGE_H__