<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/rag-quickstart-with-ray-langchain-and-huggingface-a7i5wn7rw" -->

---
title: RAG quickstart with Ray, LangChain, and HuggingFace
description: Learn how to deploy a complete RAG application on Google Kubernetes Engine (GKE) and Cloud SQL for PostgreSQL and pgvector using Ray, LangChain, and Hugging...
canonical: https://daily.dev/posts/rag-quickstart-with-ray-langchain-and-huggingface-a7i5wn7rw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: RAG quickstart with Ray, LangChain, and HuggingFace | daily.dev
og:description: Learn how to deploy a complete RAG application on Google Kubernetes Engine (GKE) and Cloud SQL for PostgreSQL and pgvector using Ray, LangChain, and Hugging...
og:url: https://daily.dev/posts/rag-quickstart-with-ray-langchain-and-huggingface-a7i5wn7rw
og:image: https://api.daily.dev/og/posts/a7I5wN7RW.png
og:image:alt: RAG quickstart with Ray, LangChain, and HuggingFace
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# RAG quickstart with Ray, LangChain, and HuggingFace

**[Google Cloud](https://daily.dev/sources/gcp)** · 2 min read · 3 upvotes · 0 comments

## Summary

Learn how to deploy a complete RAG application on Google Kubernetes Engine (GKE) and Cloud SQL for PostgreSQL and pgvector using Ray, LangChain, and Hugging Face. RAG improves the outputs of large language models by retrieving information from an external knowledge base. RAG on GKE and Cloud SQL offers benefits such as fast data loading, deployment, security, cost efficiency, reduced management overhead, and scalability.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://cloud.google.com/blog/products/ai-machine-learning/rag-quickstart-with-ray-langchain-and-huggingface/>

---

Tags: [#langchain](https://daily.dev/tags/langchain), [#rag](https://daily.dev/tags/rag), [#gke](https://daily.dev/tags/gke)

[View this post on daily.dev](https://daily.dev/posts/rag-quickstart-with-ray-langchain-and-huggingface-a7i5wn7rw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"RAG quickstart with Ray, LangChain, and HuggingFace","url":"https://daily.dev/posts/rag-quickstart-with-ray-langchain-and-huggingface-a7i5wn7rw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/rag-quickstart-with-ray-langchain-and-huggingface-a7i5wn7rw"},"datePublished":"2024-05-02T16:07:28.903Z","dateModified":"2024-05-09T08:39:06.345Z","description":"Learn how to deploy a complete RAG application on Google Kubernetes Engine (GKE) and Cloud SQL for PostgreSQL and pgvector using Ray, LangChain, and Hugging...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/065176103f0f2fe406a4e5a4b787f8cc?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/065176103f0f2fe406a4e5a4b787f8cc?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Google Cloud","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Google Cloud","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/gcp","url":"https://daily.dev/sources/gcp"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/rag-quickstart-with-ray-langchain-and-huggingface-a7i5wn7rw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"langchain,rag,gke","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Google Cloud","item":"https://daily.dev/sources/gcp"},{"@type":"ListItem","position":3,"name":"RAG quickstart with Ray, LangChain, and HuggingFace"}]}
```

