ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Service · Database

Amazon Neptune

Graph database used for graph-based RAG and for vector search over connected data.

Question
Neptune
Linked facts
Knowledge Bases
  1. 1A question that depends on relationships arrives.
  2. 2Neptune follows the links and returns the connected facts.
Neptune follows links between things.
  • Which passage means the same?

  • How are these things connected?

    Neptune
  • What did this customer order?

Match the question to the store.

What it is

Amazon Neptune is a managed graph database. A graph stores things and the links between them, such as people, products and who bought what. For this exam, its role is RAG over connected data.

Plain vector search finds passages that sound like the question. A graph also knows how things relate. Graph-based RAG follows those links, so it can answer questions that need several facts joined together, such as which suppliers affect a given product. Amazon Neptune Analytics can also store and search vectors, so it works for graph-based RAG.

Amazon Bedrock Knowledge Bases can use Amazon Neptune Analytics as its vector store for this graph-based RAG.

Remember

  • Managed graph database: things and the links between them.
  • Used for graph-based RAG: follow relationships to find connected facts.
  • Can store and search vectors too.
  • Amazon Neptune Analytics works with Amazon Bedrock Knowledge Bases.
  • Choose it when relationships are the point of the question.

On the exam

  • “RAG that uses relationships between entities” points to Amazon Neptune.
  • “Which database is a graph database?” points to Amazon Neptune.