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/

OpenAI Functions Agent ChatApp

  • This workflow provides an interactive chat interface powered with OpenAI Functions Agent.

  • 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.

  • To learn more about the workflow, click the left bar and check the description section.




  1. Right click

  2. Metanode

  3. Open Metanode

  4. Add path to the Vector Store in the Vector Store Reader node

OpenAI API key
Credentials Configuration
Configure the agent
OpenAI Functions Agent Creator
ChatApp
Create Tool from Vector Store
Authenticate
OpenAI Authenticator
Choose a model e.g.gpt-3.5-turbo
OpenAI Chat Model Connector

Nodes

Extensions

Links