This workflow creates an intelligent chat agent that can search the web in real time while remembering past interactions. By combining OpenAI with SearchAPI.io and conversational memory, the agent provides context-aware answers and ensures smooth, continuous dialogues.
Features:
- Contextual Memory – Keeps track of the last 20 messages for smoother conversations.
- Real-Time Web Search – Uses SearchAPI.io to retrieve current information directly from the web.
- AI Agent Integration – Combines OpenAI’s chat model with a LangChain agent for intelligent reasoning.
- Chat Trigger – Starts the workflow automatically when a new chat message is received.
- Customizable Search Engine – Easily switch between different engines available on SearchAPI.io.
Requirements:
- SearchAPI.io credentials
- OpenAI (or another LLM provider) credentials