@dataclouder/ngx-agent-cards 0.0.86 → 0.0.88

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.
Files changed (32) hide show
  1. package/README.md +17 -7
  2. package/fesm2022/dataclouder-ngx-agent-cards.mjs +1162 -1477
  3. package/fesm2022/dataclouder-ngx-agent-cards.mjs.map +1 -1
  4. package/lib/components/chat-container/chat-container.component.d.ts +10 -24
  5. package/lib/components/chat-container/chat-footer/chat-footer.component.d.ts +16 -10
  6. package/lib/components/chat-container/chat-header/chat-header.component.d.ts +7 -8
  7. package/lib/components/chat-container/chat-messages-list/chat-message/chat-message.component.d.ts +16 -9
  8. package/lib/components/chat-container/chat-messages-list/chat-message/chat-message.utils.d.ts +3 -2
  9. package/lib/components/chat-container/chat-messages-list/chat-message/multi-message-content/multi-message-content.d.ts +17 -6
  10. package/lib/components/chat-container/chat-messages-list/chat-messages-list.component.d.ts +5 -3
  11. package/lib/components/chat-settings/dc-conversation-userchat-settings.component.d.ts +7 -8
  12. package/lib/components/dc-agent-card-details/dc-agent-card-details.component.d.ts +4 -6
  13. package/lib/components/dc-agent-card-lists/agent-card-default-ui/agent-card-default-ui.component.d.ts +5 -5
  14. package/lib/components/dc-agent-card-lists/dc-agent-card-lists.component.d.ts +9 -10
  15. package/lib/components/dc-agent-form/account-platform/account-platform-form.component.d.ts +3 -4
  16. package/lib/components/dc-agent-form/dc-agent-card-form.component.d.ts +16 -18
  17. package/lib/components/icons/icons.component.d.ts +7 -7
  18. package/lib/components/prompt-preview-dialog/prompt-preview-dialog.component.d.ts +3 -2
  19. package/lib/components/provider-selector/provider-selector.component.d.ts +3 -3
  20. package/lib/components/standalone-audio-text-sync/standalone-audio-text-sync.component.d.ts +62 -0
  21. package/lib/components/translate-dialog/translate-dialog.component.d.ts +3 -5
  22. package/lib/models/agent.models.d.ts +2 -0
  23. package/lib/models/conversation-ai.class.d.ts +2 -2
  24. package/lib/services/conversation.service.d.ts +2 -3
  25. package/lib/services/dc-conversation-builder.service.d.ts +2 -2
  26. package/lib/services/evaluation.service.d.ts +2 -2
  27. package/package.json +1 -1
  28. package/public-api.d.ts +3 -1
  29. package/lib/components/audio-text-sync/audio-text-sync.component.d.ts +0 -42
  30. package/lib/components/chat/dc-chat.component.d.ts +0 -58
  31. package/lib/components/chat-container/chat-messages-list/chat-message/message-content/message-content.component.d.ts +0 -24
  32. /package/lib/components/{chat → chat-container}/chat.models.d.ts +0 -0
package/README.md CHANGED
@@ -1,8 +1,15 @@
1
1
  # Description
2
2
 
3
- This is an experimental and unstable Angular library for chatting with AI assistants.
3
+ This is library for Chatting with AI Agents.
4
4
 
5
- Uses the concept of character Specifications but improves with this new concept called ConversationAI.
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 Wilds are
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.