Sessions
Sessions allow Florentine.ai to enable a server-side chat history.
Since the client/agent including the MCP server usually keeps track of the chat history itself it is not absolutely essential to add a session
However it might still help Florentine.ai to get a better understanding of the context and might increase result quality.
Providing a session
You have two options to include a sessionId
:
- As the
SESSION_ID
env
variable in your MCP setup config (possible instatic
anddynamic
mode) - As the
sessionId
parameter to theflorentine_ask
tool (possible only indynamic
mode)
Provide as ENV variable
json
"env": {
"SESSION_ID": "<YOUR_SESSION_ID>"
}
Provide as tool parameter
json
{
"sessionId": "<YOUR_SESSION_ID>"
}