Gaurish Chandelkar

7 posts

Gaurish Chandelkar

Gaurish Chandelkar

@gcconnect

#AWS #CloudArchitect #Microservices

Bergabung Haziran 2021
11 Mengikuti1 Pengikut
Gaurish Chandelkar me-retweet
Dr Milan Milanoviฤ‡
Dr Milan Milanoviฤ‡@milan_milanovicยท
๐—” ๐—ฉ๐—ถ๐˜€๐˜‚๐—ฎ๐—น ๐—š๐˜‚๐—ถ๐—ฑ๐—ฒ ๐—ข๐—ป ๐—›๐—ผ๐˜„ ๐—ง๐—ผ ๐—–๐—ต๐—ผ๐—ผ๐˜€๐—ฒ ๐—ง๐—ต๐—ฒ ๐—ฅ๐—ถ๐—ด๐—ต๐˜ ๐——๐—ฎ๐˜๐—ฎ๐—ฏ๐—ฎ๐˜€๐—ฒ Choosing the right data store can be confusing with so many options around. This diagram shows a selection choice for a datastore based on a use case (๐—ฆ๐—ค๐—Ÿ ๐˜ƒ๐˜€ ๐—ก๐—ผ๐—ฆ๐—ค๐—Ÿ). Data can be ๐˜€๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ๐—ฑ (๐—ฆ๐—ค๐—Ÿ ๐˜๐—ฎ๐—ฏ๐—น๐—ฒ ๐˜€๐—ฐ๐—ต๐—ฒ๐—บ๐—ฎ), ๐˜€๐—ฒ๐—บ๐—ถ-๐˜€๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ๐—ฑ (๐—๐—ฆ๐—ข๐—ก, ๐—ซ๐— ๐—Ÿ, ๐—ฒ๐˜๐—ฐ.), ๐—ฎ๐—ป๐—ฑ ๐˜‚๐—ป๐˜€๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ๐—ฑ (๐—•๐—น๐—ผ๐—ฏ). In the case of structure, they can be relational or columnar, while in the case of semi-structured, there is a wide range of possibilities, from key-value to graph. Credits Satish Chandra Gupta. Back to you, which database have you used for which workload? Check the full source in the comments. _______ If you like my posts, please follow me, @milan_milanovic, and hit the ๐Ÿ”” on my profile to get a notification for all my new posts. Learn something new every day ๐Ÿš€! #SQL #NoSQL #Data #Database #AWS
Dr Milan Milanoviฤ‡ tweet media
English
8
289
995
100.6K
Gaurish Chandelkar me-retweet
Aurimas Griciลซnas
Aurimas Griciลซnas@Aurimas_Grยท
How do you build a ๐—Ÿ๐—Ÿ๐—  ๐—ฏ๐—ฎ๐˜€๐—ฒ๐—ฑ ๐—–๐—ต๐—ฎ๐˜๐—ฏ๐—ผ๐˜ ๐˜๐—ผ ๐—พ๐˜‚๐—ฒ๐—ฟ๐˜† ๐˜†๐—ผ๐˜‚๐—ฟ ๐—ฃ๐—ฟ๐—ถ๐˜ƒ๐—ฎ๐˜๐—ฒ ๐—ž๐—ป๐—ผ๐˜„๐—น๐—ฒ๐—ฑ๐—ด๐—ฒ ๐—•๐—ฎ๐˜€๐—ฒ? Letโ€™s find out. First step is to store the knowledge of your internal documents in a format that is suitable for querying. We do so by embedding it using an embedding model: ๐Ÿญ: Split text corpus of the entire knowledge base into chunks - a chunk will represent a single piece of context available to be queried. Data of interest can be from multiple sources, e.g. Documentation in Confluence supplemented by PDF reports. ๐Ÿฎ: Use the Embedding Model to transform each of the chunks into a vector embedding. ๐Ÿฏ: Store all vector embeddings in a Vector Database. ๐Ÿฐ: Save text that represents each of the embeddings separately together with the pointer to the embedding (we will need this later). Next we can start constructing the answer to a question/query of interest: ๐Ÿฑ: Embed a question/query you want to ask using the same Embedding Model that was used to embed the knowledge base itself. ๐Ÿฒ: Use the resulting Vector Embedding to run a query against the index in the Vector Database. Choose how many vectors you want to retrieve from the Vector Database - it will equal the amount of context you will be retrieving and eventually using for answering the query question. ๐Ÿณ: Vector DB performs an Approximate Nearest Neighbour (ANN) search for the provided vector embedding against the index and returns previously chosen amount of context vectors. The procedure returns vectors that are most similar in a given Embedding/Latent space.ย  ๐Ÿด: Map the returned Vector Embeddings to the text chunks that represent them. ๐Ÿต: Pass a question together with the retrieved context text chunks to the LLM via prompt. Instruct the LLM to only use the provided context to answer the given question. This does not mean that no Prompt Engineering will be needed - you will want to ensure that the answers returned by LLM fall into expected boundaries, e.g. if there is no data in the retrieved context that could be used make sure that no made up answer is provided. To make it a real Chatbot - face the entire application with a Web UI that exposes a text input box to act as a chat interface. After running the provided question through steps 1. to 9. - return and display the generated answer. This is how most of the chatbots that are based on a single or multiple internal knowledge base sources are actually built nowadays. We will build such a chatbot as an upcoming hands on SwirlAI Newsletter series so stay tuned in! -------- Follow me to upskill in #MLOps, #MachineLearning, #DataEngineering, #DataScience and overall #Data space. Also hit ๐Ÿ””to stay notified about new content. ๐——๐—ผ๐—ปโ€™๐˜ ๐—ณ๐—ผ๐—ฟ๐—ด๐—ฒ๐˜ ๐˜๐—ผ ๐—น๐—ถ๐—ธ๐—ฒ ๐Ÿ’™, ๐˜€๐—ต๐—ฎ๐—ฟ๐—ฒ ๐—ฎ๐—ป๐—ฑ ๐—ฐ๐—ผ๐—บ๐—บ๐—ฒ๐—ป๐˜! Join a growing community of Data Professionals by subscribing to my ๐—ก๐—ฒ๐˜„๐˜€๐—น๐—ฒ๐˜๐˜๐—ฒ๐—ฟ: newsletter.swirlai.com
Aurimas Griciลซnas tweet media
English
40
406
2.3K
370.6K
Gaurish Chandelkar me-retweet
A Cloud Guru | A Pluralsight Company
A Cloud Guru | A Pluralsight Company@acloudguruยท
AWS Config can: ๐Ÿ’ฅ Record all of the configuration data that runs through the system. ๐Ÿ’ฅ Build rules to help us ensure compliance. As a bare minimum, here are 12 recommended Config rules courtesy of cloud architect and security engineer @DonMagee. okt.to/pCDOLi
English
0
12
51
0