@dataclouder/ngx-agent-cards 0.0.87 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -7
- package/fesm2022/dataclouder-ngx-agent-cards.mjs +1134 -1352
- package/fesm2022/dataclouder-ngx-agent-cards.mjs.map +1 -1
- package/lib/components/chat-container/chat-container.component.d.ts +9 -38
- package/lib/components/chat-container/chat-footer/chat-footer.component.d.ts +18 -10
- package/lib/components/chat-container/chat-header/chat-header.component.d.ts +7 -8
- package/lib/components/chat-container/chat-messages-list/chat-message/chat-message.component.d.ts +11 -27
- package/lib/components/chat-container/chat-messages-list/chat-message/chat-message.utils.d.ts +3 -2
- package/lib/components/chat-container/chat-messages-list/chat-messages-list.component.d.ts +3 -3
- package/lib/components/chat-container/chat-messages-list/message-orchestrator/message-orchestrator.component.d.ts +26 -0
- package/lib/components/chat-settings/dc-conversation-userchat-settings.component.d.ts +7 -8
- package/lib/components/dc-agent-card-details/dc-agent-card-details.component.d.ts +4 -6
- package/lib/components/dc-agent-card-lists/agent-card-default-ui/agent-card-default-ui.component.d.ts +5 -5
- package/lib/components/dc-agent-card-lists/dc-agent-card-lists.component.d.ts +9 -10
- package/lib/components/dc-agent-form/account-platform/account-platform-form.component.d.ts +3 -4
- package/lib/components/dc-agent-form/dc-agent-card-form.component.d.ts +16 -18
- package/lib/components/icons/icons.component.d.ts +7 -7
- package/lib/components/prompt-preview-dialog/prompt-preview-dialog.component.d.ts +3 -2
- package/lib/components/provider-selector/provider-selector.component.d.ts +3 -3
- package/lib/components/text-highlighter/text-highlighter.d.ts +62 -0
- package/lib/components/translate-dialog/translate-dialog.component.d.ts +3 -5
- package/lib/models/agent.models.d.ts +5 -7
- package/lib/models/conversation-ai.class.d.ts +2 -2
- package/lib/models/user-data-exchange.d.ts +2 -0
- package/lib/pipes/safe-json.pipe.d.ts +15 -0
- package/lib/services/conversation.service.d.ts +8 -14
- package/lib/services/dc-conversation-builder.service.d.ts +0 -2
- package/lib/services/evaluation.service.d.ts +2 -2
- package/lib/services/message-processing.service.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/lib/components/audio-text-sync/audio-text-sync.component.d.ts +0 -42
- package/lib/components/chat-container/chat-messages-list/chat-message/message-content/message-content.component.d.ts +0 -24
- package/lib/components/chat-container/chat-messages-list/chat-message/multi-message-content/multi-message-content.d.ts +0 -22
- package/lib/services/audio-text-sync.service.d.ts +0 -57
package/README.md
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
# Description
|
|
2
2
|
|
|
3
|
-
This is
|
|
3
|
+
This is library for Chatting with AI Agents.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The library introduces a new concept: Agent Card.
|
|
6
|
+
|
|
7
|
+
This is general structure that Can handle all kind of conversation: character cards, situations, scenarios, and more.
|
|
8
|
+
|
|
9
|
+
Uses the concept of Character Specifications V2, since is the most popular so far.
|
|
10
|
+
https://github.com/malfoyslastname/character-card-spec-v2
|
|
11
|
+
|
|
12
|
+
but improves with this new concept called of Agent cards Conversations.
|
|
6
13
|
|
|
7
14
|
## Settings
|
|
8
15
|
|
|
@@ -245,19 +252,22 @@ Those are object to need to think how to store, create and pass to the chat.
|
|
|
245
252
|
|
|
246
253
|
In order to adapt the conversartion to the current user, Character Cards use some wild words that are parsed before conversation start, so LLM is aware of name age and other data to make a custum conversation.
|
|
247
254
|
|
|
248
|
-
this
|
|
255
|
+
Silly tarvern called this macros.
|
|
256
|
+
https://docs.sillytavern.app/usage/core-concepts/macros/#general-macros
|
|
257
|
+
|
|
258
|
+
wilds, macros, parse dict, will reference to the same.
|
|
249
259
|
|
|
250
260
|
{{user}}:
|
|
251
|
-
{{}}:
|
|
261
|
+
{{bot}}:
|
|
262
|
+
|
|
263
|
+
You have to create your custom function when you want to parse,
|
|
252
264
|
|
|
253
|
-
Polilan add more wilds for the same porpuse that helps to add context.
|
|
265
|
+
Exmaple: Polilan add more wilds for the same porpuse that helps to add context of learning languages.
|
|
254
266
|
|
|
255
267
|
{{word}}: is the words the user is studing
|
|
256
268
|
{{targe}}: is the language the user wants to learn
|
|
257
269
|
{{base}}: is the user native language
|
|
258
270
|
|
|
259
|
-
TODO: this same logic can apply for every diferent app, think on how to abstract and create standard for this.
|
|
260
|
-
|
|
261
271
|
##### Build messages to start a conversation
|
|
262
272
|
|
|
263
273
|
- conversation need attached all the data from the character card.
|