Skip to content

Commit

Permalink
Merge pull request #45 from OpenNyAI/add-docs
Browse files Browse the repository at this point in the history
Updated documentation for merge between session and fsm-state tables
  • Loading branch information
shreypandey authored May 22, 2024
2 parents a85fd54 + eb017a5 commit 53a6039
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/explanations/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ A user needs to be registered for the bot. Phone Number & Bot ID make the user u

**Session**

We maintain session for 24 hours. After that a fresh conversation starts.
This table stores the state (stage in the workflow) and variables for every user. We maintain session for 24 hours. After that a fresh conversation starts.

**Turn**

Expand All @@ -37,10 +37,6 @@ Every message received from the user creates a new turn in the conversation. Aga

Every message received or sent is logged to the DB.

**FSM State**

This table currently stores the state (stage in the workflow) and variables. This needs to be merged with session table.

## Services

### API
Expand Down

0 comments on commit 53a6039

Please sign in to comment.