Sessions

Sessions are a way to maintain context across multiple interactions with a user. Since LLMs are stateless by default, sessions help simulate continuity.

  • Sessions are created automatically when calling /chat without a session_id or can be created explicitly by calling the /session endpoint.

  • Sessions can be managed through the following endpoints:

  • Sessions persist your conversation history, custom configurations for blockchain data, and thirdweb tools interactions.