Maintains a master prompt to provide role, history and context for LLM chat and/or retrieval augmented generation. Which works with optional modular prompts.
This action is designed to enhance large language model (LLM) interactions by providing a structured prompt with role, history, and context elements. As a core interact action, it serves a critical role in shaping conversations and facilitating retrieval-augmented generation. Configured as a singleton, it ensures dedicated handling of interaction flow, requiring the Jivas library version 2.0.0 and depending on the langchain_model_action
for comprehensive functionality.
Now supports streaming responses when the streaming
flag is set on interact calls, enabling real-time output for improved user experience.
jivas/persona_interact_action
PersonaInteractAction
^2.0.0-alpha.43
jivas/langchain_model_action
: ~0.0.7
persona_interact_action
project.git clone https://github.com/TrueSelph/persona_interact_action
git checkout -b new-feature-x
git commit -m 'Implemented new feature x.'
git push origin new-feature-x
This project is protected under the Apache License 2.0. See LICENSE for more information.
jvcli download action jivas/persona_interact_action
Last published
a month ago
Version
0.0.4
Downloads
352
Author
jivasType
interact_action
Visibility
Public
Tags