Skip to content

Latest commit

 

History

History
59 lines (28 loc) · 3.15 KB

README.md

File metadata and controls

59 lines (28 loc) · 3.15 KB

Ask a Virtual Scientist - Demo

Overview

This demo demonstrates intial AVS behavior. This version scrapes webpages relating to the topic: OUTER SPACE.

296078663-a7d4782a-ff08-4b4a-9ba9-a5bfddbd88fc

The Lex bot is currently connected to a knowledge base that uses the Titan Embeddings model to pull data from an s3 bucket populated with wikipedia pages (pdfs) about topics relating to OUTER SPACE. New data can easily be added to this bucket in pretty much any file format. The bot then uses the new Bedrock gen AI features and the Anthropic Claude v2 model to search the that knowledge base for answers to the user’s questions.

Ask any question relating to the topic: OUTER SPACE

296078659-1758b745-74ff-4484-9094-7ca6e1d314d0

Setup

292012491-8aa0d34e-f42b-4d96-a937-051b73fa690f

Data Sources

Wikipedia pages (pdfs) about topics relating to the topic OUTER SPACE.

292012382-613507a4-c2db-4229-b5b0-9a747f639c1e

S3 Bucket

Stores data sources. These can be files of any type - pdf, csv, etc. Any data to be fed into AVS will live here.

292005754-41435c59-f3b6-44b2-aff0-e1cde41ada99

Knowledge Base

AWS Bedrock is used to build a functional knowledge base that accesses the data in the S3 bucket.

292002349-9d5f7cd6-d5d1-4d52-9af6-4c17e99b2f72 292002181-3587adda-d44a-4770-a518-018839d8a4cf

Embeddings Model

The Titan Embeddings G1 - Textv1.2 model is used to retrieve text from the documents in the S3 bucket segmenting documents into logical segments (paragraphs & sections). This model can also perform semantic similarity and clustering procedures. It can process up to 8k tokens, generating a 1536-dimensional vector.

292001518-b99e3dce-d691-4f30-aa7b-c3c9ccc795c4

AWS OpenSearch Serverless Vector Engine

The embeddings model relies on Amazon OpenSearch as a Serverless Vector Engine to process the vector it generates.

292000964-285dbbab-3630-49d5-b268-fbbb3b131f20

AWS Lex

Ask a Virtual Scientist is ultimately powered by an AWS Lex V2 bot that uses a generative AI intent.

292000650-83a4b451-b997-4ac9-9d53-d7e2a7d70a71