Understanding Chatbots in PySpur
Feature | Standard Workflow | Chatbot |
---|---|---|
Input/Output Structure | Flexible, user-defined | Fixed structure with specific fields |
Session Management | Not built-in | Automatic session tracking |
Message History | Not available | Automatically maintained |
Execution Model | One-time processing | Conversational, multi-turn |
Primary Use Case | Data processing, automation | User interactions, conversations |
user_message
(string): The message from the usersession_id
(string): A unique identifier for the conversation sessionmessage_history
(array): Previous messages in the conversation (automatically managed)assistant_message
(string): The response message from the chatbot