Icon

OpenAI Agent ChatApp

You can easily download and run the workflow directly in your KNIME installation. We recommend that you use the latest version of the KNIME Analytics Platform for optimal performance. It can also be deployed as a Data App in KNIME Business Hub.

This workflow provides and interactive chat dashboard powered with an OpenAI Functions Agent that uses multiple vector stores as tools.
When the agent is prompted, it can decide based on the input if it needs to retrieve information from the vector stores to respond to the prompt.

For now, the FAISS Vector Store Reader Node only supports local paths. Copy the path to the YoutubeTranscripts folder and point the FAISS Vector Store Reader to the folders to run the workflow.
Note that this agent requires the tool name to not contain white spaces.

In order to run the workflow you need an OpenAI API key. If you don't have one already, register with OpenAI and create a new API key under https://platform.openai.com/account/api-keys.

URL: OpenAI API Keys https://platform.openai.com/account/api-keys
URL: OpenAI Functions Agent LangChain Documentation https://python.langchain.com/docs/modules/agents/agent_types/openai_functions_agent
URL: Faiss LangChain Documentation https://python.langchain.com/docs/modules/data_connection/vectorstores/integrations/faiss
URL: Vector Stores LangChain Documentation https://python.langchain.com/docs/modules/data_connection/vectorstores/

Nodes

Extensions

Links