This workflow shows how to provide an OpenAI Functions Agent with a vector store as tool. When the agent is prompted, it can decide based on the input if it needs to retrieve information from the vector store to respond to the prompt.
For now, the FAISS Vector Store Reader Node only supports local paths. Copy the YoutubeTranscripts folder to a local path and point the FAISS Vector Store Reader to it 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/v0.2/docs/integrations/vectorstores/faiss/
URL: Vector Stores LangChain Documentation https://python.langchain.com/docs/modules/data_connection/vectorstores/
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.