Skip to main content

Posts

Showing posts with the label session management

Introducing the Local Copilot Chatbot Application: Your Ultimate Document-Based Query Assistant

                                                  actual screenshot taken of the knowledge bot Introducing the Local Copilot Chatbot Application: Your Ultimate Document-Based Query Assistant In today's fast-paced world, finding precise information quickly can make a significant difference. Our Local Copilot Chatbot Application offers a cutting-edge solution for accessing and querying document-based knowledge with remarkable efficiency. This Flask-based application utilizes the powerful Ollama and Phi3 models to deliver an interactive, intuitive chatbot experience. Here's a deep dive into what our application offers and how it leverages modern technologies to enhance your productivity. What is the Local Copilot Chatbot Application? The Local Copilot Chatbot Application is designed to serve as your personal assistant for document-based queri...

Bot State with Azure

We can use  Azure Bot Application using FastAPI that integrates with Azure Cache for Redis for session management and uses Azure Cosmos DB for state management. Here are the steps to achieve this: State Management with Azure Cosmos DB : Why do you need state? Maintaining state allows your bot to have more meaningful conversations by remembering certain things about a user or conversation. For example, if you’ve talked to a user previously, you can save previous information about them, so that you don’t have to ask for it again. State also keeps data for longer than the current turn, so your bot retains information over the course of a multi-turn conversation. Storage Layer : The backend storage layer is where the state information is actually stored. You can choose from different storage options: Memory Storage : For local testing only; volatile and temporary. Azure Blob Storage : Connects to an Azure Blob Storage object database. Azure Cosmos DB Partitioned Storage : Connects ...

Azure Session Management

  Photo by SHVETS production Say we are going to create an application for customer management. Which requires faster interaction from the customer to the application. So we need to manage the session with cache. Users can log in from any device and use it seamlessly from any other device without any issues. Below is an end-to-end solution for user login and session management using Azure Redis Cache, API Gateway, Load Balancer, Azure App Service, and Azure Function serverless with a Flask application in the backend. In Azure, maintaining distributed session data typically involves using a combination of Azure services and technologies. Here are some best practices and technologies you can use to keep and manage distributed session data: 1. Azure Cache for Redis:    - Description: Azure Cache for Redis is a fully managed, in-memory data store service built on the popular open-source Redis. It is commonly used to store and manage session data for web applications.   ...