サービス · Database
Amazon Neptune
Graph database used for graph-based RAG and for vector search over connected data.
このレッスンはまだ翻訳されていないため、英語で表示しています。
- 1A question that depends on relationships arrives.
- 2Neptune follows the links and returns the connected facts.
Which passage means the same?
How are these things connected?
Neptune
What did this customer order?
| The question asks | Store |
|---|---|
| Which passage means the same? | |
| How are these things connected? | |
| What did this customer order? |
概要
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.
覚えること
- 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.
試験では
- “RAG that uses relationships between entities” points to Amazon Neptune.
- “Which database is a graph database?” points to Amazon Neptune.
混同しやすいもの
Amazon OpenSearch ServiceSearch and analytics engine that can also store embeddings and run vector search.
Amazon AuroraManaged relational database whose PostgreSQL edition can store vectors next to your rows.
- Vector databasesA store that finds items by meaning, which RAG needs to look up the right passages.