Create an agent

Overview

In this optional challenge, you will apply what you have learned to create an agent with a custom set of tools.

You should:

  1. Use either the lesson knowledge graph or your own knowledge graph from the previous challenge.

  2. Create an agent using the example code from this workshop.

  3. Define a set of tools that the agent can use to answer user queries based on the knowledge graph, these could include:

    • Cypher query tools that run Cypher queries against the graph and return the results

    • Vector + Cypher retrievers to semantically search the knowledge graph.

    • Text to Cypher tools to query specific data from the graph.

  4. Test the agent with different user queries to see how it uses the tools to provide answers.

You can come back to this challenge at any time.

Lesson Summary

In this lesson, you applied what you have learned throughout the workshop to create your agent to interact with a knowledge graph.

Congratulations on completing the workshop.

Chatbot

How can I help you today?