<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AgentCloud</title>
    <description>The latest articles on DEV Community by AgentCloud (@agentcloud).</description>
    <link>https://dev.to/agentcloud</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F8626%2Fd97d3091-5cd2-4215-b2a0-9aa227457b23.png</url>
      <title>DEV Community: AgentCloud</title>
      <link>https://dev.to/agentcloud</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/agentcloud"/>
    <language>en</language>
    <item>
      <title>Agent Cloud vs Qdrant</title>
      <dc:creator>Ankur Tyagi</dc:creator>
      <pubDate>Mon, 20 May 2024 13:55:37 +0000</pubDate>
      <link>https://dev.to/agentcloud/agent-cloud-vs-qdrant-h08</link>
      <guid>https://dev.to/agentcloud/agent-cloud-vs-qdrant-h08</guid>
      <description>&lt;p&gt;Over the past year, generative AI tools have exploded on the internet, captivating us with their ability to craft human-quality text, translate languages with remarkable accuracy, and even generate breathtakingly realistic images. &lt;/p&gt;

&lt;p&gt;This rapid advancement in artificial intelligence is fueled by a crucial element that often goes unnoticed: data. Just as a powerful engine requires high-grade fuel, generative AI tools rely on vast repositories of high-quality data to deliver reliable and informative responses.&lt;/p&gt;

&lt;p&gt;These Large Language Models (LLMs)  draw their inferences almost exclusively from this pre-trained data. However, imagine if these tools could not only leverage data they have been pre-trained on but also be able to tap into your data for enhanced context.  This is the revolutionary concept behind the Retrieval-Augmented Generation (RAG). LLMs can now reach beyond their internal training data thanks to RAG, which acts as a bridge to external information sources. This access allows them to generate more comprehensive, accurate, and up-to-date results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbib8lnocvlglof1sl9p4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbib8lnocvlglof1sl9p4.png" alt="Image description" width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;AgentCloud&lt;/a&gt; is an open-source generative AI platform offering a built-in RAG service. The RAG, as a service offering from AgentCloud, includes a built-in pipeline that allows you to talk to your data by abstracting away all the complexities of setting up the underlying infrastructure yourself. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;With AgentCloud, you can ingest data from over 300 sources and build a private LLM chat application with an interface similar to ChatGPT. Some common enterprise platforms where you can integrate your data include &lt;a href="https://www.agentcloud.dev/blog/a-rag-chat-app-with-agent-cloud-and-bigquery" rel="noopener noreferrer"&gt;Google BigQuery&lt;/a&gt;, Salesforce, Atlassian Confluence, Zendesk, Airbyte, &lt;a href="https://www.agentcloud.dev/blog/build-chat-app-postgresql-agentcloud" rel="noopener noreferrer"&gt;PostgreSQL&lt;/a&gt;, &lt;a href="https://www.agentcloud.dev/blog/build-rag-chatbot-agentcloud-mongodb" rel="noopener noreferrer"&gt;MongoDB&lt;/a&gt;, and OneDrive.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frxx3d31dsx91ya8m3u9h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frxx3d31dsx91ya8m3u9h.png" alt="Image description" width="800" height="497"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, let's shift our focus to Qdrant, AgentCloud's perfect partner. At its core, Qdrant shines as a high-performance vector database and vector similarity search engine that allows you to store and retrieve dense vector representations of data. Qdrant excels at facilitating similarity search operations, allowing LLMs to quickly retrieve the most relevant data points based on their queries. &lt;/p&gt;

&lt;p&gt;This search capability makes Qdrant perfect for handling large volumes of data embeddings, which are multidimensional representations of data commonly used in AI generative applications such as AgentCloud and ChatGPT.&lt;/p&gt;




&lt;h3&gt;
  
  
  Before we get started
&lt;/h3&gt;

&lt;p&gt;If you are an open Source lover and then please consider supporting Agent Cloud, by giving us a Star on GitHub ⭐️ &lt;/p&gt;

&lt;p&gt;Just click on the cat 🙏&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhbb0glgvpjgolgwoczqp.gif" width="400" height="225"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks. You're cool.&lt;/p&gt;




&lt;h2&gt;
  
  
  Understanding AgentCloud - Securely talk to your data.
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;AgentCloud&lt;/a&gt; is an open-source AI application platform whose main focus is enabling companies to securely talk to their data through an internal GPT builder that can use any LLM and access hundreds of data sources. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;AgentCloud offers a seamless end-to-end solution for building powerful &lt;a href="https://docs.agentcloud.dev/documentation/guides/demo-chat-rag-bigquery" rel="noopener noreferrer"&gt;RAG&lt;/a&gt; applications using a powerful, scalable open stack of tools under the hood. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F33m15rznfinkxu9gpvs4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F33m15rznfinkxu9gpvs4.png" alt="Image description" width="800" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The stack includes a powerful, built-in ELT pipeline built on AirByte that can seamlessly ingest data from over 300 sources, including popular options like databases, documents, collaboration platforms, and cloud storage. Other supported data formats include pdf, txt, xlsx, and CSV files.  &lt;/p&gt;

&lt;p&gt;AgentCloud also incorporates a robust message bus (RabbitMQ), ensuring smooth communication between components within your RAG application, and an open-source vector database(Qdrant) for efficient data storage and retrieval. &lt;/p&gt;

&lt;p&gt;Using its end-to-end pipeline, AgentCloud also offers features for tasks like splitting, chunking, and embedding data, as well as all crucial steps for efficient information retrieval.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmzhmaqbuo4r2wxwj5tqy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmzhmaqbuo4r2wxwj5tqy.png" alt="Image description" width="800" height="510"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For complex data sources like &lt;a href="https://docs.agentcloud.dev/documentation/guides/demo-chat-rag-bigquery" rel="noopener noreferrer"&gt;BigQuery&lt;/a&gt;, AgentCloud offers advanced chunking strategies like semantic chunking. This ensures efficient processing of large datasets without overwhelming the system or losing information.  Looking ahead, AgentCloud will empower users with even greater control over their data. You'll soon be able to selectively choose which fields to embed for retrieval by your AI agents and which fields to store as metadata for additional context.  &lt;/p&gt;

&lt;p&gt;AgentCloud stores the prepared data securely in a vector database(&lt;a href="https://qdrant.tech" rel="noopener noreferrer"&gt;Qdrant&lt;/a&gt;) and keeps it fresh through manual, scheduled, or automated updates. You can now create apps using a no-code builder interface built for anyone and share them with Users, Teams, or the entire Organisation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7t9uismwd012jc2nliqe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7t9uismwd012jc2nliqe.png" alt="Image description" width="800" height="652"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Away from building chatbots for data interaction, AgentCloud also offers process automation capabilities with multi-agent workflows powered by Autogen. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Autogen is a platform that provides a multi-agent conversation framework as a high-level abstraction, allowing you to build LLM workflows conveniently.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9v2hg7hoczlxlek745z0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9v2hg7hoczlxlek745z0.png" alt="Image description" width="800" height="904"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using this feature, you can build powerful teams of AI agents, each powered by your choice of Large Language Models (LLMs) from providers like OpenAI or Hugging Face. These agents can work together, share information, and leverage various data sources to automate complex processes.&lt;/p&gt;

&lt;p&gt;One of the most exciting aspects of AgentCloud is its flexibility regarding Large Language Models (LLMs). Unlike some platforms that lock you into their ecosystem, AgentCloud empowers you to choose the LLM that best suits your needs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do you have a specific open-source LLM in mind, like LLAMA2 or a model from Hugging Face? &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;No problem! AgentCloud allows you to connect your LLM. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Do you need the processing muscle of a cloud-based LLM?&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;AgentCloud seamlessly integrates with popular providers like OpenAI, Cohere, and Anthropic Claude. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For organizations prioritizing maximum security, AgentCloud lets you connect the platform to your private LLM endpoints. This ensures your data remains completely isolated, with no access to the internet and no risk of exposure to external LLM providers.&lt;/p&gt;

&lt;p&gt;Agent Cloud caters to self-hosting and &lt;a href="https://docs.agentcloud.dev/documentation/Installation/local" rel="noopener noreferrer"&gt;cloud-based deployment options&lt;/a&gt;.  For companies seeking complete control and data isolation, self-hosting allows them to deploy the platform on their infrastructure using Kubernetes Helm files. This approach requires managing the infrastructure yourself. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7gq5ozm1rfphqikp18hz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7gq5ozm1rfphqikp18hz.png" alt="Image description" width="800" height="548"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Alternatively, the cloud option is ideal for businesses prioritizing a quicker setup and avoiding infrastructure management. This cloud-based deployment allows you to get up and running with AgentCloud functionality without the burden of maintaining infrastructure.&lt;/p&gt;

&lt;p&gt;AgentCloud prioritizes your data security. You can self-host everything or leverage self-hosted AI models to prevent unauthorized access. Additionally, you can control and limit what your AI agents can access and do.&lt;/p&gt;




&lt;h2&gt;
  
  
  AgentCloud Usecases
&lt;/h2&gt;

&lt;p&gt;AgentCloud product offerings cater to the needs of businesses in different ways. Let’s highlight some use cases for Agent Cloud:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Customer support&lt;/strong&gt;: AgentCloud empowers businesses to deploy chatbots that can handle customer inquiries, troubleshoot issues, and even resolve support tickets. This frees up human agents for more complex tasks, improving overall customer service efficiency.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Internal knowledge management&lt;/strong&gt;: Go beyond simple FAQs. AgentCloud allows you to create process apps that automate internal workflows. For instance, you can create an onboarding chatbot that guides new employees through company policies or a document approval chatbot that streamlines internal processes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data-Driven decision-making&lt;/strong&gt;: Break down data silos! AgentCloud facilitates the building of conversational interfaces for data analysis, facilitating data-driven decision-making.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Security and Control&lt;/strong&gt;: AgentCloud offers a unique advantage for organizations with strict data privacy regulations - complete on-premise or private cloud deployment. This ensures maximum control over sensitive data and compliance with data sovereignty requirements.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Financial services&lt;/strong&gt;: Build chatbots for banking inquiries, fraud detection powered by AgentCloud, and even personalized financial advisory services delivered through chat interfaces. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Healthcare solutions&lt;/strong&gt;: AgentCloud can be the foundation for virtual healthcare assistants, medical chatbots for appointment scheduling or symptom evaluation, and even remote patient monitoring systems.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Understanding Qdrant
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://qdrant.tech/" rel="noopener noreferrer"&gt;Qdrant&lt;/a&gt; is a high-performance vector database designed for efficiently storing, searching, and managing vector embeddings. Unlike traditional OLTP (Online Transaction Processing) and OLAP (Online Analytical Processing) databases that rely on tables and keywords, Qdrant excels at handling high-dimensional data represented as dense vector embeddings.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb39vbys0ryxe5bnn6ii9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb39vbys0ryxe5bnn6ii9.png" alt="Image description" width="704" height="636"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This capability makes Qdrant particularly useful for applications dealing with complex data types like text, images, audio, and more, which are often used in generative AI platforms like AgentCloud. Vector embeddings allow for a compressed representation of these complex data types that is optimized for machine learning algorithms.&lt;/p&gt;

&lt;p&gt;Before we highlight the key features of Qdrant, consider these vectors as a unique, multi-dimensional representation of data where each dimension represents a characteristic of your data.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For example, text data might be transformed into an embedding that captures its semantic meaning, while image data might be converted into an embedding that reflects its color composition, shapes, and textures.  &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdscxbl9hv5s6r54bb161.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdscxbl9hv5s6r54bb161.png" alt="Image description" width="800" height="299"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ditch the keyword struggle. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Qdrant leverages semantic embeddings to understand the true meaning of your text data, even for short texts. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This allows you to build and deploy powerful semantic neural search functionalities on your data in minutes.&lt;/p&gt;

&lt;p&gt;Traditional search engines tend to struggle with data containing thousands of dimensions. Qdrant tackles this challenge head-on with advanced indexing techniques. It utilizes a graph-based indexing algorithm called Hierarchical Navigable Small World (HNSW) graphs to create a network of interconnected data points. &lt;/p&gt;

&lt;p&gt;Qdrant allows you to measure the quality of your search using the built-in exact search mode, which can measure the quality of the search results. In this mode, Qdrant performs a full kNN search for each query without approximation. &lt;/p&gt;

&lt;p&gt;This vector database integrates effortlessly with your existing projects, regardless of programming language. &lt;/p&gt;

&lt;p&gt;It offers a user-friendly RESTful API as the primary method for interaction, including official client libraries for popular languages to simplify the process.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7a5ojk769cox4k32hpp0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7a5ojk769cox4k32hpp0.png" alt="Image description" width="800" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If your programming language isn't on the list, you can still interact with Qdrant directly using the REST API or generate a custom client using OpenAPI.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Generative AI tools are constantly working with ever-growing data needs. Quadrant is built to efficiently store and retrieve vast amounts of data embeddings, making it ideal for Generative AI applications working with ever-growing data repositories. &lt;/p&gt;




&lt;h2&gt;
  
  
  Qdrant Usecases
&lt;/h2&gt;

&lt;p&gt;Qdrant vector search engine transcends traditional keyword search, unlocking a wide range of applications across various industries. &lt;/p&gt;

&lt;p&gt;Here's a glimpse into how what you can do with Qdrant vector database:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Matching engines for semantically complex objects&lt;/strong&gt;: In HR processes and Job search platforms, Qdrant's vector search engine can match candidates and jobs based on skills and experience described in natural language, even if they don't use the exact same keywords. This eliminates the need for rigid categorization and allows for a better understanding of qualifications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Similar image search&lt;/strong&gt;: This can apply to the fashion industry. Qdrant's visual search functionality empowers shoppers to search for clothing based on appearance, removing the limitations of keyword searches. Large companies like Zalando are already using in this technology.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;E-Commerce search&lt;/strong&gt;: Qdrant's AI-powered search goes beyond traditional keyword-based search, allowing users to identify relevant products even when users don't use the exact terminology.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Recommendations engines&lt;/strong&gt;: As seen in the previous examples, Qdrant can recommend food options or media content (music, movies, games) based on visual or user preference similarity. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Customer support and sales optimization&lt;/strong&gt;: Chatbots powered by AgentCloud and Qdrant can automate answering frequently asked questions (FAQs), freeing up human customer service representatives for more complex issues.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What to Choose- AgentCloud or Qdrant?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzu67na59j75qn2vlzwza.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzu67na59j75qn2vlzwza.png" alt="Image description" width="800" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;In essence, AgentCloud and Qdrant are not competing tools; they complement each other.&lt;/strong&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;By understanding their distinct functionalities, you can choose the best option or leverage them together for a powerful combination.&lt;/p&gt;

&lt;p&gt;AgentCloud is an open-source platform that enables companies to build LLM-powered conversational chat apps that allow them to talk with their data. You can also conveniently build a group of agents to solve more complex tasks by providing these agents access to functions and data sources.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;AgentCloud utilizes various open-source tools and services, and one of its core components is a vector database, Qdrant itself. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgyo4ve4f05vth97ahpdd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgyo4ve4f05vth97ahpdd.png" alt="Image description" width="800" height="478"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AgentCloud provides a comprehensive suite of data ingestion, transformation, model training, and application deployment functionalities. It also leverages the power of Qdrant for vector search within its workflows.&lt;/p&gt;

&lt;p&gt;If your primary focus is efficient vector search and retrieval, Qdrant is the ideal choice.&lt;/p&gt;

&lt;p&gt;On the other hand, if you need a comprehensive platform for building and deploying intelligent applications that leverage vector search, then AgentCloud is the way to go. &lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;You won't be facing a situation where you must choose between Agent Cloud and Qdrant. However, by using the two platforms, you can create powerful generative AI applications that allow you to talk to your data securely through a simple chat interface. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;AgentCloud&lt;/a&gt; abstracts away the complexities of setting up Qdrant yourself, allowing you to focus on building conversational and process automation apps.  &lt;/p&gt;

&lt;p&gt;AgentCloud offers a compelling solution for technical and non-technical users when building generative AI applications. With its built-in RAG pipeline, anyone within your company can find the data they need, when needed, without the hassle of searching through disparate systems or requesting access from colleagues through endless email exchanges. &lt;/p&gt;




&lt;h3&gt;
  
  
  🔍 Want to learn more about AgentCloud?
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-crewai-a-comparison" rel="noopener noreferrer"&gt;Agent Cloud vs. CrewAI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-openai" rel="noopener noreferrer"&gt;Agent Cloud vs. OpenAI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agentcloud-vs-google-cloud-agents" rel="noopener noreferrer"&gt;Agent Cloud vs. Vertex AI Agents&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/a-rag-chat-app-with-agent-cloud-and-bigquery" rel="noopener noreferrer"&gt;How to Build a RAG Chatbot using Agent Cloud and BigQuery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/build-rag-chatbot-agentcloud-mongodb" rel="noopener noreferrer"&gt;How to Build a RAG Chatbot Using Agent Cloud And MongoDB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/build-chat-app-postgresql-agentcloud" rel="noopener noreferrer"&gt;How to Build a RAG Chatbot Using Agent Cloud And PostgreSQL&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>opensource</category>
      <category>productivity</category>
      <category>programming</category>
      <category>ai</category>
    </item>
    <item>
      <title>How to Build a Chat App with Your Postgres Data using Agent Cloud</title>
      <dc:creator>Ankur Tyagi</dc:creator>
      <pubDate>Mon, 13 May 2024 15:02:38 +0000</pubDate>
      <link>https://dev.to/agentcloud/how-to-build-a-chat-app-with-your-postgres-data-using-agent-cloud-33hk</link>
      <guid>https://dev.to/agentcloud/how-to-build-a-chat-app-with-your-postgres-data-using-agent-cloud-33hk</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Enterprises are turning to RAG (Retrieval-Augmented Generation) because it fundamentally changes how AI can be used for better decision-making.&lt;/p&gt;

&lt;p&gt;RAG combines the power of information retrieval with AI generation, allowing businesses to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Leverage vast amounts of data&lt;/strong&gt;: RAG unlocks the value of internal and external data sources, providing a more comprehensive picture for informed choices.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Enhance accuracy and confidence&lt;/strong&gt;: By grounding AI generation in reliable information, RAG reduces the risk of bias or errors in decision-making.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Streamline the process&lt;/strong&gt;: RAG automates parts of the information-gathering and analysis process, leading to faster and more efficient decision-making cycles.&lt;br&gt;
RAG is a framework designed to improve language models by pulling in relevant, up-to-date data directly related to a user’s query and RAG chat apps allow you to chat with your data. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this blog, we will learn to build a RAG chatbot in minutes using &lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;AgentCloud&lt;/a&gt;. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;AgentCloud is an open-source platform enabling companies to build and deploy private LLM chat apps, empowering teams to securely interact with their data.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;AgentCloud uses &lt;a href="https://airbyte.com/" rel="noopener noreferrer"&gt;Airbyte&lt;/a&gt; to build data pipelines, which allow us to split, chunk, and embed data from over 300 data sources, including Postgres.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AgentCloud uses &lt;a href="https://qdrant.tech/" rel="noopener noreferrer"&gt;Qdrant&lt;/a&gt; as the vector store to efficiently store and manage large sets of vector embeddings. For a given user query the RAG application fetches relevant documents from vector store by analyzing how similar their vector representation is compared to the query vector.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So, let’s get started building a RAG chat application using Agent Cloud to talk privately and securely with your Postgres data.&lt;/p&gt;




&lt;h3&gt;
  
  
  Before we start building the RAG app
&lt;/h3&gt;

&lt;p&gt;If you are an open Source lover and then please consider supporting Agent Cloud, by giving us a Star on GitHub ⭐️ &lt;/p&gt;

&lt;p&gt;Just click on the cat 🙏&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhbb0glgvpjgolgwoczqp.gif" width="400" height="225"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks. You're cool.&lt;/p&gt;




&lt;h2&gt;
  
  
  Setting up Agent Cloud via Docker
&lt;/h2&gt;

&lt;p&gt;To run AgentCloud locally, ensure Docker is installed. Follow these steps to get AgentCloud up and running.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clone the repo:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git clone https://github.com/rnadigital/agentcloud.git&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Navigate to the agentcloud directory: &lt;code&gt;cd agentcloud&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run this command: &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;chmod +x install.sh &amp;amp;&amp;amp; ./install.sh&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Running the install command will download necessary Docker images and launch the containers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9b3dpg9wt37tg9qu615g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9b3dpg9wt37tg9qu615g.png" alt="Image description" width="800" height="806"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once the install script is executed successfully we can view the containers running in the docker app:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn1jjd9z3hxosk6nvmd1z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn1jjd9z3hxosk6nvmd1z.png" alt="Image description" width="800" height="679"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To access Agent Cloud in the browser, we can hit the below URL: &lt;code&gt;http://localhost:3000/register&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8gg80v1e13vqa20jttoe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8gg80v1e13vqa20jttoe.png" alt="Image description" width="800" height="878"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, we need to sign to the platform&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd2nn2ceyvwcf4rlog841.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd2nn2ceyvwcf4rlog841.png" alt="Image description" width="800" height="920"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Post sign-up, and log in to the App, to get to this landing screen.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsgcaffjuri1h65pvee0d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsgcaffjuri1h65pvee0d.png" alt="Image description" width="800" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congrats, setup is complete now.&lt;/p&gt;

&lt;p&gt;Now let's move towards building our RAG app.&lt;/p&gt;




&lt;h2&gt;
  
  
  Adding New Model
&lt;/h2&gt;

&lt;p&gt;Agent Cloud allows us to use models like FastEmbed and OpenAI in app. &lt;/p&gt;

&lt;p&gt;To add a new model let’s go to the Models screen and click the Add Model option.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fya90e6wajyr6ye4w8b01.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fya90e6wajyr6ye4w8b01.png" alt="Image description" width="800" height="297"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the configuration screen, select a Model—such as the fast-bge-small-en for embedding text. Then, save your settings to finish the model setup.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F39ar00cop62kdl9fhwrl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F39ar00cop62kdl9fhwrl.png" alt="Image description" width="800" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Post successfully adding the model we will be able to view the model in the Models list.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjswp4402ghknee2w3ms4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjswp4402ghknee2w3ms4.png" alt="Image description" width="800" height="345"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating New Datasource
&lt;/h2&gt;

&lt;p&gt;The data source for our app will be a Postgres table which contains information about Indian dishes. &lt;/p&gt;

&lt;p&gt;Here is the snapshot of the table data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvsngm4zvy4jr98ybp6y5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvsngm4zvy4jr98ybp6y5.png" alt="Image description" width="800" height="367"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Our table features 181 Indian dishes representing various Indian states.&lt;/p&gt;

&lt;p&gt;Here is a description of the table columns.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;name&lt;/strong&gt; : Name of the dish&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ingredients&lt;/strong&gt; : Main ingredients used&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;diet&lt;/strong&gt; : Type of diet - either vegetarian or non-vegetarian&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;prep_time&lt;/strong&gt; : Preparation time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;cook_time&lt;/strong&gt; : Cooking time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;flavor_profile&lt;/strong&gt; : Flavor profile includes whether the dish is spicy, sweet, bitter, etc&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;course&lt;/strong&gt; : Course of meal - starter, main course, dessert, etc&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;state&lt;/strong&gt; : State where the dish is famous or is originated&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;region&lt;/strong&gt; : Region where the state belongs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;meta_info&lt;/strong&gt;: This column contains the dish information in an unstructured format. The column data will be embedded for vector search.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To integrate table data into our app, add the data source by navigating to the Data Source page, clicking the New Connection button, and selecting a source from the modal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk8mnr02qqtumtlwi61s6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk8mnr02qqtumtlwi61s6.png" alt="Image description" width="800" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's choose Postgres as our data source and then configure the connection.&lt;/p&gt;

&lt;p&gt;Here's what's needed to set up the Postgres data source.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Schedule type&lt;/li&gt;
&lt;li&gt;Host name&lt;/li&gt;
&lt;li&gt;Port&lt;/li&gt;
&lt;li&gt;Password&lt;/li&gt;
&lt;li&gt;Postgres username&lt;/li&gt;
&lt;li&gt;Postgres password&lt;/li&gt;
&lt;li&gt;Database name&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4d6olovfnv64kx8l4dly.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4d6olovfnv64kx8l4dly.png" alt="Image description" width="800" height="617"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's disabled the SSL modes as we're running Postgres on our local machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F82oblotary9n5x5i5c0g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F82oblotary9n5x5i5c0g.png" alt="Image description" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, we need to select the replication method; I have selected Xmin. &lt;/p&gt;

&lt;p&gt;Xmin replication is the new cursor-less replication method for Postgres. &lt;/p&gt;

&lt;p&gt;Cursorless syncs enable syncing new or updated rows without explicitly choosing a cursor field. The Xmin system column is used to track inserts and updates to your source data. &lt;/p&gt;

&lt;p&gt;Now, we need to click on the Test and Save button, which will first test the DB connection and, if successful, save the data connector.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqa88321f0p1421j3wu4p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqa88321f0p1421j3wu4p.png" alt="Image description" width="800" height="226"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We'll select the table and all its columns.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdqk84s3o2rmepznru320.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdqk84s3o2rmepznru320.png" alt="Image description" width="800" height="589"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The column meta_info is selected for embedding, which means the vector search will be performed on the contents of this column.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvmejc3pc0c873miuwc3s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvmejc3pc0c873miuwc3s.png" alt="Image description" width="800" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then we press the Continue button to create the Data Source.&lt;/p&gt;

&lt;p&gt;It will take some time to embed the data, and post that you will be able to see this data in a new collection in the Qdrant collection dashboard. &lt;/p&gt;

&lt;p&gt;After setting up the data source, Agent Cloud uses Airbyte in the background to create a data pipeline between Postgres and Qdrant.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F348kghsn0603avymu4fo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F348kghsn0603avymu4fo.png" alt="Image description" width="800" height="307"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once the sync is complete, the new collection will appear in the Qdrant DB.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4xe02fi8ibu7lh81hu3p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4xe02fi8ibu7lh81hu3p.png" alt="Image description" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Example of how the data is stored inside a Qdrant point.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdruwwemk654flw3n36gi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdruwwemk654flw3n36gi.png" alt="Image description" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, we will be setting up a tool for using our data source.&lt;/p&gt;




&lt;h2&gt;
  
  
  Setting up Tools
&lt;/h2&gt;

&lt;p&gt;Tools are essential for enabling the AI agent to interact effectively with its environment, process information, and take appropriate actions to achieve its goals. &lt;/p&gt;

&lt;p&gt;The tools used by an AI agent can include functions, APIs, data sources, and other resources that help the agent perform specific tasks autonomously and efficiently. &lt;/p&gt;

&lt;p&gt;The tool we will be setting up will be responsible for querying the data source and fetching relevant documents. Agent Cloud creates a tool for us when we add a new data source by default.&lt;/p&gt;

&lt;p&gt;The screenshot below shows that the Postgres Food data tool has been automatically created by the platform.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fymca3k64j48veax9nm5t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fymca3k64j48veax9nm5t.png" alt="Image description" width="800" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3c3n24wmpklvargznee8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3c3n24wmpklvargznee8.png" alt="Image description" width="800" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have updated the tool configuration to change the description. &lt;/p&gt;

&lt;p&gt;This description is very important as it will be used by the Agent to decide which tool to use for a given task.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwdaogp313pt4u2o68ct4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwdaogp313pt4u2o68ct4.png" alt="Image description" width="800" height="514"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on the Save button to update the tool.&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating Agent
&lt;/h2&gt;

&lt;p&gt;An Agent is an intelligent system that can efficiently accomplish complex tasks. &lt;/p&gt;

&lt;p&gt;To create an Agent, let’s go to the Agents screen and click on the New Agent button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdkhwegv644fmb78164t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvdkhwegv644fmb78164t.png" alt="Image description" width="800" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the Agent configuration, we need to provide certain information one of the information is the LLM Model. Agents use LLMs to enhance their capabilities and improve communication. &lt;/p&gt;

&lt;p&gt;We are using gpt-4-0125-preview OpenAI model for our agent.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F29ubevjd0fvx787jf8dm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F29ubevjd0fvx787jf8dm.png" alt="Image description" width="800" height="633"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here are the remaining details needed for configuration:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Agent Name&lt;/li&gt;
&lt;li&gt;Agent role&lt;/li&gt;
&lt;li&gt;Agent Goal&lt;/li&gt;
&lt;li&gt;Agent Backstory&lt;/li&gt;
&lt;li&gt;Agent Tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft2jaz8kyv6ujzu2zf5uk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft2jaz8kyv6ujzu2zf5uk.png" alt="Image description" width="800" height="919"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now click on the Save button to complete the Agent configuration.&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating Task
&lt;/h2&gt;

&lt;p&gt;Tasks are specific assignments assigned to an agent for completion.&lt;/p&gt;

&lt;p&gt;To create a new task let’s click the &lt;code&gt;Add Task&lt;/code&gt; button in the Task screen.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftwmhj8pzg7hvk23qj5rf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftwmhj8pzg7hvk23qj5rf.png" alt="Image description" width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When configuring the task, provide the following information:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Task name&lt;/li&gt;
&lt;li&gt;Task description&lt;/li&gt;
&lt;li&gt;Task tools&lt;/li&gt;
&lt;li&gt;Task Agent&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc4jr5t4cas9fajvs0xiv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc4jr5t4cas9fajvs0xiv.png" alt="Image description" width="800" height="610"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Post that we can click on the Save button to save the configuration.&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating App
&lt;/h2&gt;

&lt;p&gt;So till now, we have created a data source for the App, a tool to retrieve to information from the data source, an LLM Agent that will be working on complex tasks using the tool, and a Task that will be assigned to the Agent based on the user’s instruction. &lt;/p&gt;

&lt;p&gt;Now we will be creating a conversational App that will allow us to chat with our data. &lt;/p&gt;

&lt;p&gt;To create the App, let’s go to the App screen and click on the New App button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3aat889vygrqgitzsvm3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3aat889vygrqgitzsvm3.png" alt="Image description" width="800" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the configuration page, let’s enter the app name and select the app type, which will be a conversation chat app in our case. &lt;/p&gt;

&lt;p&gt;Select the Task and Agent that we created. In the process, we will select sequential, and finally, in the Chat manager model, we will select the OpenAI GPT 4 model. &lt;/p&gt;

&lt;p&gt;Now we can click on the Save button to complete the app setup.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2fybc990dy24dm3229sm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2fybc990dy24dm3229sm.png" alt="Image description" width="800" height="690"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After completing the app setup, the newly created app will appear in the dashboard.&lt;/p&gt;

&lt;p&gt;Now let's see the app in action by clicking the Play button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi0xjr4ugzs92f0h1puye.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi0xjr4ugzs92f0h1puye.png" alt="Image description" width="800" height="326"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A conversion window is opened for us where we can chat with our data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz2izvc3srvf12dij8t8i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz2izvc3srvf12dij8t8i.png" alt="Image description" width="800" height="446"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is the app's response to our question.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff5yfdjcnzdwr6tufd1g4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff5yfdjcnzdwr6tufd1g4.png" alt="Image description" width="800" height="519"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yay, we did it 😎&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this blog, we learned to build a RAG chat app with Agent Cloud and Postgres. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We covered creating a data source, embedding it, and storing it in Qdrant DB. Additionally, we learned how to build tools for Agents and create an app where users can interact with their private data.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  🔍 Want to learn more about Agent Cloud?
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-crewai-a-comparison" rel="noopener noreferrer"&gt;Agent Cloud vs. CrewAI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-openai" rel="noopener noreferrer"&gt;Agent Cloud vs. OpenAI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agentcloud-vs-google-cloud-agents" rel="noopener noreferrer"&gt;Agent Cloud vs. Vertex AI Agents&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/a-rag-chat-app-with-agent-cloud-and-bigquery" rel="noopener noreferrer"&gt;How to Build a RAG Chatbot using Agent Cloud and BigQuery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/build-rag-chatbot-agentcloud-mongodb" rel="noopener noreferrer"&gt;How to Build a RAG Chatbot Using Agent Cloud And MongoDB&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>opensource</category>
      <category>postgres</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How to Build a RAG Chatbot with Agent Cloud and MongoDB</title>
      <dc:creator>Ankur Tyagi</dc:creator>
      <pubDate>Mon, 06 May 2024 12:33:30 +0000</pubDate>
      <link>https://dev.to/agentcloud/how-to-build-a-rag-chatbot-with-agentcloud-and-mongodb-4la7</link>
      <guid>https://dev.to/agentcloud/how-to-build-a-rag-chatbot-with-agentcloud-and-mongodb-4la7</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Enterprises are constantly seeking ways to improve efficiency, gain a competitive edge, and deliver exceptional customer service. Retrieval-Augmented Generation (RAG) technology is emerging as a powerful tool that addresses these needs by combining information retrieval with AI generation. This innovative approach unlocks a range of benefits that can significantly transform how enterprises operate.&lt;/p&gt;

&lt;p&gt;One of the most impactful applications of RAG lies in enhanced customer support. By retrieving information from a company's knowledge base or past customer interactions, RAG can empower chatbots and virtual assistants to provide more accurate and contextually relevant responses. This translates to faster resolution times, improved customer satisfaction, and a reduction in the burden on human support teams.&lt;/p&gt;

&lt;p&gt;Another key advantage of RAG is its ability to streamline knowledge management. Enterprises often struggle with vast amounts of unstructured data stored in documents, emails, and reports. RAG tackles this challenge by enabling users to quickly retrieve the information they need. This empowers employees to find answers to internal queries, access relevant documents for decision-making, and conduct research more efficiently, ultimately boosting overall productivity.&lt;/p&gt;

&lt;p&gt;RAG goes beyond simply retrieving and generating information. It can also play a crucial role in data analysis. By identifying relevant data points and insights from large datasets, RAG can automate parts of the data analysis pipeline, leading to faster extraction of actionable insights. This empowers enterprises to make data-driven decisions with greater speed and accuracy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhzgto920989v9bjb6oau.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhzgto920989v9bjb6oau.png" alt="Image description" width="800" height="376"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this blog, we will learn to build a RAG chatbot in minutes using AgentCloud and MongoDB.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExcG45ZmVxNzRyYno1MXB6NXAxY2RxY25hMm96dGYwYzFhcHMyNGJkcyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/fQZX2aoRC1Tqw/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExcG45ZmVxNzRyYno1MXB6NXAxY2RxY25hMm96dGYwYzFhcHMyNGJkcyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/fQZX2aoRC1Tqw/giphy.gif" width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://www.agentcloud.dev/" rel="noopener noreferrer"&gt;AgentCloud&lt;/a&gt; is an open-source platform enabling companies to build and deploy private LLM chat apps, empowering teams to securely interact with their data. AgentCloud internally uses Airbyte to build data pipelines allowing us to split, chunk, and embed data from over 300 data sources, including NoSQL databases like MongoDB. It simplifies the process of ingesting data into the vector store for the initial setup and subsequent scheduled updates, ensuring that the vector store information is always updated. AgentCloud uses Qdrant as the vector store to efficiently store and manage large sets of vector embeddings. For a given user query the RAG application fetches relevant documents from vector store by analyzing how similar their vector representation is compared to the query vector.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Setting up Agent Cloud via Docker
&lt;/h2&gt;

&lt;p&gt;To run AgentCloud in Local you must have Docker installed in your system. Then you can execute the below steps to run AgentCloud. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;clone the repo:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;git clone https://github.com/rnadigital/agentcloud.git&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;go to the agentcloud directory: &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;cd agentcloud&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;run locally using this command: &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;chmod +x install.sh &amp;amp;&amp;amp; ./install.sh&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Here is a &lt;a href="https://docs.agentcloud.dev/documentation/get-started/quickstart" rel="noopener noreferrer"&gt;Quickstart Guide&lt;/a&gt; in Docs.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On running the install command it will download the required docker images and start the containers in Docker.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgm645nr0fnf8vwkus1a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgm645nr0fnf8vwkus1a.png" alt="Image description" width="800" height="806"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once the install script is executed successfully we can view the containers running in the docker app:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgy585254pgpwcdfensp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbgy585254pgpwcdfensp.png" alt="Image description" width="800" height="679"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To access Agent Cloud in browser we can hit the below url:&lt;br&gt;
&lt;a href="http://localhost:3000/register" rel="noopener noreferrer"&gt;http://localhost:3000/register&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F036jisfpm2k6u2g6vxeg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F036jisfpm2k6u2g6vxeg.png" alt="Image description" width="800" height="878"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, we need to sign to the platform.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdbmkyfl7i4wclw0f51h6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdbmkyfl7i4wclw0f51h6.png" alt="Image description" width="800" height="920"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Post sign-up, log in to the App, to get to this landing screen.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1n8we43e4ld336nexffo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1n8we43e4ld336nexffo.png" alt="Image description" width="800" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congrats. Our setup is complete now. &lt;/p&gt;

&lt;p&gt;Next, we will move towards building our RAG application.&lt;/p&gt;




&lt;h2&gt;
  
  
  Adding New Model
&lt;/h2&gt;

&lt;p&gt;Agent Cloud allows us to use models like &lt;code&gt;FastEmbed&lt;/code&gt; and &lt;code&gt;OpenAI&lt;/code&gt; in our app. &lt;/p&gt;

&lt;p&gt;To add a new model let's go to the Models screen and click the &lt;code&gt;Add Model&lt;/code&gt; option.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqs2ik6uabw428gyzorp2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqs2ik6uabw428gyzorp2.png" alt="Image description" width="800" height="297"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the configure screen you can select &lt;code&gt;Model&lt;/code&gt;, I have selected &lt;code&gt;fast-bge-small-en&lt;/code&gt; model to embed the text content.&lt;/p&gt;

&lt;p&gt;Then click on the &lt;code&gt;Save&lt;/code&gt; button to complete the &lt;code&gt;model&lt;/code&gt; setup.&lt;/p&gt;

&lt;p&gt;FastEmbed, a lightweight library with minimal dependencies, is ideal for serverless environments like AWS Lambda.  The core model, &lt;code&gt;fast-bge-small-en&lt;/code&gt;, efficiently captures text meaning for tasks like classification and retrieval due to its compact size. This combination offers developers a powerful solution for real-time text analysis in serverless deployments.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4qky7qav3pchalwvpsgb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4qky7qav3pchalwvpsgb.png" alt="Image description" width="800" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Post successfully adding the model we will be able to view the model in the Models list.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp30o8skcrlw03ki4tncl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp30o8skcrlw03ki4tncl.png" alt="Image description" width="800" height="345"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating DataSource
&lt;/h2&gt;

&lt;p&gt;We will be using MongoDB as our data source. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;MongoDB is a NoSQL database, that offers a flexible alternative to traditional relational databases. Unlike relational databases with rigid schemas, MongoDB stores data in JSON-like documents, allowing for easy adaptation to ever-changing data structures.&lt;/p&gt;

&lt;p&gt;In our MongoDB, we have a database called &lt;code&gt;course_db&lt;/code&gt; which contains a collection called &lt;code&gt;course_catalog&lt;/code&gt;. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Inside this collection, we have stored different course information.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5q63zazpvx6geqjbvozp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5q63zazpvx6geqjbvozp.png" alt="Image description" width="665" height="728"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are multiple fields in each document but the fields which we are interested in are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;title &lt;/li&gt;
&lt;li&gt;description&lt;/li&gt;
&lt;li&gt;level&lt;/li&gt;
&lt;li&gt;duration&lt;/li&gt;
&lt;li&gt;skills_covered&lt;/li&gt;
&lt;li&gt;url&lt;/li&gt;
&lt;li&gt;meta_data&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To access and utilize MongoDB data within the RAG, we'll create a MongoDB data source. &lt;/p&gt;

&lt;p&gt;First we need to go to the &lt;code&gt;Data Sources&lt;/code&gt; page and click on the &lt;code&gt;New Connection&lt;/code&gt; button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Far8ghkqalhn6y00k443y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Far8ghkqalhn6y00k443y.png" alt="Image description" width="800" height="346"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We will select &lt;code&gt;MongoDB&lt;/code&gt; as the &lt;code&gt;Datasource&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiu1dr1fnpqjh06579pxf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiu1dr1fnpqjh06579pxf.png" alt="Image description" width="800" height="543"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We will select the Datasource Name as &lt;code&gt;course_db_mongo&lt;/code&gt; which is derived from the database name. We will add a short description of the new data source. We have kept the &lt;code&gt;Schedule Type&lt;/code&gt; as Manual which means the MongoDB data will get synced to the vectorstore manually.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq7wj9hckffbvr2r5vb0a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq7wj9hckffbvr2r5vb0a.png" alt="Image description" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am running MongoDB on my local machine with Docker. For connecting Airbyte to MongoDB we need to provide the MongoDB connection string and the Mongo database name. In the cluster type, I have selected Self-Managed Replica Set since MongoDB is running in my local. Rest we can keep the default value as it is.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft3ri5619bl3fz0hm98s9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft3ri5619bl3fz0hm98s9.png" alt="Image description" width="800" height="749"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, we need to select the collection that we want to sync, which is &lt;code&gt;course_catalog&lt;/code&gt;,  we will be syncing all the fields to the vector store. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkqww3xuwpqvsumalvnlh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkqww3xuwpqvsumalvnlh.png" alt="Image description" width="800" height="647"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Post that we need to select the field to be embedded and click continue. The &lt;code&gt;meta_data&lt;/code&gt; field in the Mongo DB has all the relevant information required so we will select this field for embedding.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5lravygcn6lrh9ihwue2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5lravygcn6lrh9ihwue2.png" alt="Image description" width="800" height="475"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The data source is created now. In the first run, it embeds the Mongo data and stores it in the Qdrant vector store.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fem9wnxjp7pgdwta3yzdz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fem9wnxjp7pgdwta3yzdz.png" alt="Image description" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can check the Qdrant DB running in our local to verify the data sync. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The Qdrant DB is running in port 6333 and can be accessed from the below link.&lt;br&gt;
&lt;a href="http://localhost:6333/dashboard#/collections" rel="noopener noreferrer"&gt;http://localhost:6333/dashboard#/collections&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On the collection page we can see a new collection is created.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdnv1pd6laykgzevynb2x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdnv1pd6laykgzevynb2x.png" alt="Image description" width="800" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As the data syncs, this collection gets populated with the documents.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsss8lioxm0cavqgh0ubi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsss8lioxm0cavqgh0ubi.png" alt="Image description" width="800" height="922"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Setting up tools
&lt;/h2&gt;

&lt;p&gt;Tools are an essential component for enabling the AI agent to interact with its environment effectively, process information, and take appropriate actions to achieve its goals. The tools used by an AI agent can include functions, APIs, data sources, and other resources that help the agent perform specific tasks autonomously and efficiently. &lt;/p&gt;

&lt;p&gt;The tool we will be setting up will be responsible for querying the data source and fetching relevant documents. Agent Cloud by default creates a tool for us when a new data source is added. In the below screenshot, we can see that the &lt;code&gt;course_db_mongo&lt;/code&gt; tool has already been created for us by the platform.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmmcspqh0yigjn0gwufjc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmmcspqh0yigjn0gwufjc.png" alt="Image description" width="800" height="394"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The AI agents read the tool's description and make a judgment about using the tool for the task, so we need to make sure that the description of the tool covers all the information that the agent would require.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu5hmfbhjzebw4xus4iwo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu5hmfbhjzebw4xus4iwo.png" alt="Image description" width="800" height="510"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating Agent
&lt;/h2&gt;

&lt;p&gt;An AI Agent is a sophisticated system that utilizes LLM technology to reason through problems, create plans to solve these problems and execute these plans with the assistance of various tools. These agents are characterized by their complex reasoning capabilities, memory functions, and the ability to execute tasks autonomously.&lt;/p&gt;

&lt;p&gt;For creating the agent we will first go to the &lt;code&gt;Agents&lt;/code&gt; page and then click on the &lt;code&gt;New Agent&lt;/code&gt; button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkteyh509vjr7sivdmxqx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkteyh509vjr7sivdmxqx.png" alt="Image description" width="800" height="326"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This brings us to the agent configuration page where we define the &lt;code&gt;Name&lt;/code&gt;, &lt;code&gt;Role&lt;/code&gt;, &lt;code&gt;Goal&lt;/code&gt;, and &lt;code&gt;Backstory&lt;/code&gt; of an Agent. We have selected both the &lt;code&gt;Model&lt;/code&gt; and &lt;code&gt;Function Calling Model&lt;/code&gt; as Open AI GPT 4. &lt;/p&gt;

&lt;p&gt;In the Tools section, we will select the &lt;code&gt;course_db_mongo tool&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foj4f3183wbjuqk3vrt1j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foj4f3183wbjuqk3vrt1j.png" alt="Image description" width="800" height="985"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you don’t have the Open AI GPT 4 model configured then you can click on the Model option and add a new model. A modal for configuring new model opens and there you can add the name of the model, the model type, the Credentials which will be the OpenAI API key, and finally the LLM model. On clicking the save button the &lt;code&gt;Open AI GPT 4&lt;/code&gt; model we be configured.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fazzvj36glk5owik7fm6g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fazzvj36glk5owik7fm6g.png" alt="Image description" width="800" height="676"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now click on the &lt;code&gt;Save&lt;/code&gt; button on the agent configuration page and a new agent will be created for us.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6e2oire5w0irmzr859q1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6e2oire5w0irmzr859q1.png" alt="Image description" width="800" height="335"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating Task
&lt;/h2&gt;

&lt;p&gt;Tasks are specific assignments assigned to an agent for completion. For creating a new task we need to click the &lt;code&gt;Add Task&lt;/code&gt; button in the Task screen.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc4iit3dioap2xl7p3f0c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc4iit3dioap2xl7p3f0c.png" alt="Image description" width="800" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In the Task configuration page, we need to define the &lt;code&gt;Name&lt;/code&gt; and &lt;code&gt;Task Description&lt;/code&gt;. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;We will be selecting the Tools and Preferred Agent as &lt;code&gt;course_db_mongo&lt;/code&gt; and &lt;code&gt;Course Information Agent&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fncrjhn80wykkdtn274bk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fncrjhn80wykkdtn274bk.png" alt="Image description" width="800" height="939"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On clicking the &lt;code&gt;Save&lt;/code&gt; button a new task will be created for us.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwur313v8q5t3jssypuc2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwur313v8q5t3jssypuc2.png" alt="Image description" width="800" height="656"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating App
&lt;/h2&gt;

&lt;p&gt;We will now look into the App creation part. &lt;/p&gt;

&lt;p&gt;In our app, we bind the Agent and Task together to create a conversational RAG. This RAG will help users in answering questions related to courses. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In the app configuration we will select the &lt;code&gt;App Type&lt;/code&gt; as Conversation Chat App. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The Task will be the &lt;code&gt;Course Information Task&lt;/code&gt;which we created before and the Agent will be the &lt;code&gt;Course Information Agent&lt;/code&gt;. We will want the App to process tasks sequentially so we will select the Process as sequential. And finally, we will select the LLM model as OpenAI GPT 4. Then we can click on the save button to save our configuration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ll9azkgogxzqcqzkxpn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ll9azkgogxzqcqzkxpn.png" alt="Image description" width="800" height="707"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now lets test our App, on click the play button it will open a chat window for us where we can have conversation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jvj7d0goybd35wv5k0q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jvj7d0goybd35wv5k0q.png" alt="Image description" width="800" height="604"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;let's check if there are any Python courses on the list. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The Agent uses the &lt;code&gt;course_db_mongo&lt;/code&gt; tool to retrieve the Python courses.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjikjetmrqq49qhn4twb5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjikjetmrqq49qhn4twb5.png" alt="Image description" width="800" height="769"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;let's see another example where we can inquiring for any beginner course on Google Workspace and agent was able to retrieve the course with the difficulty level as beginner.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpgij1vgk978iw8emyk1r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpgij1vgk978iw8emyk1r.png" alt="Image description" width="800" height="756"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ok, Ok last example in which let's try where we will trying to fetch a web development course with a  duration of 2 weeks.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fakfzw5jek4tui08zpku7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fakfzw5jek4tui08zpku7.png" alt="Image description" width="800" height="788"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's it for today. &lt;/p&gt;

&lt;p&gt;🌐 Also, don't forget to check out our open source GitHub repository: &lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;AgentCloud GitHub Repo&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;If you like what you see, give us a ⭐. Just click on the cat.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhbb0glgvpjgolgwoczqp.gif" width="400" height="225"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks. You're cool.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this blog, we learned to build a RAG chat app with Agent Cloud and MongoDB. &lt;/p&gt;

&lt;p&gt;We covered:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to create a data source&lt;/li&gt;
&lt;li&gt;How to do embedding&lt;/li&gt;
&lt;li&gt;How to store it in Qdrant DB&lt;/li&gt;
&lt;li&gt;How to build tools for Agents&lt;/li&gt;
&lt;li&gt;How to create an app where users can interact with their private data using Agent Cloud&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🔍 Want to learn more about Agent Cloud? read other blogs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-crewai-a-comparison" rel="noopener noreferrer"&gt;Agent Cloud vs. CrewAI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-openai" rel="noopener noreferrer"&gt;Agent Cloud vs. OpenAI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agentcloud-vs-google-cloud-agents" rel="noopener noreferrer"&gt;Agent Cloud vs. Vertex AI Agents&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/a-rag-chat-app-with-agent-cloud-and-bigquery" rel="noopener noreferrer"&gt;How to Build a RAG Chatbot using Agent Cloud and BigQuery&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>webdev</category>
      <category>opensource</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Agent Cloud vs Google Cloud Agents</title>
      <dc:creator>Ankur Tyagi</dc:creator>
      <pubDate>Mon, 29 Apr 2024 09:46:37 +0000</pubDate>
      <link>https://dev.to/agentcloud/agent-cloud-vs-google-cloud-agents-494e</link>
      <guid>https://dev.to/agentcloud/agent-cloud-vs-google-cloud-agents-494e</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Data has become the new gold mine. Businesses of all sizes are scrambling to extract valuable insights and unlock the potential hidden within their ever-growing data warehouses. Generative AI tools powered by Large Language Models (LLMs) are emerging as powerful tools for such tasks. &lt;/p&gt;

&lt;p&gt;Based on large pre-trained data and the context given in the input, these AI marvels can generate responses in the form of text, image, code, and even videos that you can leverage for different needs.&lt;/p&gt;

&lt;p&gt;But what if LLMs could also leverage external data sources to provide even more insightful and accurate results instead of only relying on pre-trained data? This is where Retrieval-Augmented Generation (RAG) comes in. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;RAG takes LLM capabilities to the next level, allowing them to access and integrate information from external databases and repositories. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Imagine an LLM that can write a compelling product description and dynamically incorporate real-time customer feedback to enhance its accuracy. This is the power of RAG.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://www.agentcloud.dev/" rel="noopener noreferrer"&gt;AgentCloud&lt;/a&gt; is an open-source generative AI platform that offers a built-in RAG pipeline to help you securely talk to your data using your preferred LLM. AgentCloud's built-in RAG pipeline simplifies data integration from over 300 sources, including &lt;a href="https://docs.agentcloud.dev/documentation/get-started/demo-chat-rag-bigquery" rel="noopener noreferrer"&gt;Google BigQuery&lt;/a&gt;, &lt;strong&gt;Salesforce&lt;/strong&gt;, &lt;strong&gt;Atlassian Confluence&lt;/strong&gt;, &lt;strong&gt;Zendesk&lt;/strong&gt;, &lt;strong&gt;Airbyte&lt;/strong&gt;, &lt;strong&gt;Drive&lt;/strong&gt;, &lt;strong&gt;SharePoint&lt;/strong&gt;, and &lt;strong&gt;OneDrive&lt;/strong&gt;. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Oh, By The Way
&lt;/h2&gt;

&lt;p&gt;AgentCloud is a community-powered open-source project so If you find value in our work and wish to fuel our journey so the best way to show your support is by &lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;starring us on GitHub&lt;/a&gt; ⭐&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExejN6MjVtb2ttdHc5Y2M4dmkzcHZxMDBueTYwdnpzcXdkZWt1d2ZwNyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/PGSnPf27XvtTXGTKIG/giphy-downsized-large.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExejN6MjVtb2ttdHc5Y2M4dmkzcHZxMDBueTYwdnpzcXdkZWt1d2ZwNyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/PGSnPf27XvtTXGTKIG/giphy-downsized-large.gif" width="384" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is our &lt;a href="https://github.com/orgs/rnadigital/projects/8/views/1" rel="noopener noreferrer"&gt;public roadmap&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsqasv11mr6thpgjqor15.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsqasv11mr6thpgjqor15.png" alt="Image description" width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, let's discuss Google’s most recent addition, Vertex AI Agent Builder. This suite of tools allows developers of all experience levels to build and deploy generative AI applications. It offers a no-code interface, an open-source library(LangChain) for advanced users, and tools to ensure the AI responses are based on real-world data. With features like document processing and security controls, Vertex AI Agent Builder is an all-in-one solution for creating production-ready generative AI experiences.&lt;/p&gt;

&lt;p&gt;This article will compare AgentCloud and Vertex AI agent builders, exploring their functionalities, strengths, and weaknesses to help you choose the most suitable solution for your needs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYzU5eHlxYnNveWRqeDNoOWFrZmVkdXp3bGc2aXY2ZTNheWI3cDF3NyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Yy6GhtIk8l76u8nlIF/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExYzU5eHlxYnNveWRqeDNoOWFrZmVkdXp3bGc2aXY2ZTNheWI3cDF3NyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Yy6GhtIk8l76u8nlIF/giphy.gif" width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Understanding AgentCloud - Talk to Your Data.
&lt;/h2&gt;

&lt;p&gt;AgentCloud is an open-source AI application platform designed to empower you and your businesses to build and use conversational AI tools, like ChatGPT, privately within your organization&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;AgentCloud facilitates through an advanced built-in RAG as a service that allows you to split, chunk, embed, and retrieve data from over 300 sources. You can also upload your own files in the formats of PDF, docx, txt, xlsx, and CSV.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For databases, you can choose specific tables and columns for data ingestion. Once you have your data, you can define how it's processed. This includes splitting and chunking files and choosing an embedding model. Finally, AgentCloud stores the prepared data securely in a vector database and keeps it fresh through manual, scheduled, or automated updates. With everything set up, you can create an AI agent and interact with your data through a chat-like interface.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffv440i0sch74dqnmwtgn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffv440i0sch74dqnmwtgn.png" alt="Image description" width="634" height="524"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Suppose you're in the marketing department, scrambling to meet a deadline for a new marketing campaign. You need some data on customer acquisition costs from last quarter, but you can't remember exactly where it's stored. You fire off a quick message to Sarah in Sales.&lt;/p&gt;

&lt;p&gt;A few minutes tick by, and you have yet to hear back. Sarah may be engaged in another task or digging through spreadsheets from last quarter, further delaying you. &lt;/p&gt;

&lt;p&gt;With AgentCloud, instead of relying on colleagues' availability, you open the AgentCloud interface. It's like having a chat window directly connected to your company's data. You type your question.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"What were our customer acquisition costs in Q3?"&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;AgentCloud instantly retrieves the relevant data from your CRM, marketing automation tool, or any other designated source. You see a clear breakdown of the costs, presented in a user-friendly format.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is the power of AgentCloud. &lt;/p&gt;

&lt;p&gt;It eliminates the need for endless email chains and searches. You can chat with your data directly, just like you would with a colleague, unlocking valuable insights and accelerating your decision-making process.&lt;/p&gt;

&lt;p&gt;AgentCloud is designed to be LLM-agnostic, meaning you can choose the LLM that best suits your needs. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjxpreg7bkqmqpr51iwvz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjxpreg7bkqmqpr51iwvz.png" alt="Image description" width="707" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here's a breakdown of your options:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Open-source LLMs&lt;/strong&gt;: Since AgentCloud is open-source, you can integrate various open-source LLMs, such as LLAMA2, Mistral 7B, Hugging Face, or BLOOM.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cloud-based LLMs&lt;/strong&gt;: AgentCloud allows you to connect to cloud-based LLMs offered by providers like Open AI, Cohere, and Anthropic Claude. This gives you access to powerful pre-trained models like OpenAI's GPT-3 series, known for their capabilities in text generation and code completion. This is perfect for companies that want to get up and running fast or don't want to manage infrastructure.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdbi3828jmn6yj80mtn80.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdbi3828jmn6yj80mtn80.png" alt="Image description" width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While AgentCloud excels at facilitating conversations with your data through a chat interface, its capabilities extend far beyond this. AgentCloud's Multi-agent assistant, powered by Autogen, empowers you to build robust, collaborative teams of AI agents. AutoGen provides a multi-agent conversation framework as a high-level abstraction.&lt;/p&gt;

&lt;p&gt;With this framework, you can conveniently build a group of agents and provide them access to functions and data sources. Once provided with a prompt, these agents can securely leverage those data sets and converse with each other to solve tasks. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The power of AgentCloud continues beyond multi-agent collaboration. You can further extend your AI agents' capabilities by building custom tools and functions. These custom Python functions allow your agents to interact seamlessly with any third-party API service. Imagine needing sales data from your CRM system or marketing performance metrics from an external platform. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;With AgentCloud, you can build custom functions that securely access these APIs and integrate the retrieved data directly into your agent workflows. This empowers you to create genuinely comprehensive AI solutions that bridge the gap between your internal data and external resources.&lt;/p&gt;

&lt;p&gt;Finally, AgentCloud allows you to maintain complete control over your data and ensure chat applications don't share more information than needed. We recommend self-hosting on your computer if you’d like to operate in an ultra-secure environment.&lt;/p&gt;

&lt;p&gt;You can deploy the entire platform on your infrastructure and leverage private LLM endpoints. This ensures your data remains completely isolated and LLM providers won't have access to train on it.  Furthermore, AgentCloud offers granular access controls at multiple levels. Teams can only access data designated for them, while individual AI agents have restricted access to specific data, functions, and LLM models.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key AgentCloud Features at a Glance
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftdtkfnant4z8sutntl9l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftdtkfnant4z8sutntl9l.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Talk to data, no coding (RAG as a service)&lt;/strong&gt; - Build chatbots that chat with your data! No coding is needed; use AgentCloud's built-in RAG (fancy term for "knowledge retrieval") feature. Plus, it uses multiple data sources to keep things accurate.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Conversation management&lt;/strong&gt; - You can build chatbots that know what they're talking about! AgentCloud uses your connected data sources as a giant knowledge base, so your chatbots can answer questions and act like a supercharged internal search engine for your data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data on demand (Data ingestion)&lt;/strong&gt; - AgentCloud syncs information from all your favorite sources (think Confluence, databases, even PDFs!) into a central hub with a built-in Qdrant vector database. Plus, you can choose how often to refresh the data, keeping it nice and up-to-date.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Teamwork makes the dream work (Multi-agent engine)&lt;/strong&gt; - You can automate complex tasks with a team of AI agents working together. Think of them as your data dream team each with their specialty, but also able to collaborate to get the job done. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;You're in control&lt;/strong&gt; - You get to decide who gets access to what data with AgentCloud's team and user permissions. Keep things organized and secure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Your data, your rules&lt;/strong&gt; - Put your data privacy first. AgentCloud lets you deploy it on your cloud servers, keeping your information securely within your control.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Understanding Google Cloud agents - Vertex AI Agents builder
&lt;/h2&gt;

&lt;p&gt;Vertex AI Agent Builder is one of Google's most recent AI platforms. It allows you to create and deploy generative AI experiences for businesses. Unlike traditional coding, Vertex AI Agent Builder allows you to build agents using natural language instructions. This no-code interface makes it accessible to a wider range of developers, even those without extensive programming experience. You can define your agent's goals, provide step-by-step instructions, and share conversational examples to guide its responses.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://imgbox.com/DtzMQEUZ" rel="noopener noreferrer"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mulKZgbQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://res.cloudinary.com/dga2aiuad/image/upload/v1714379886/b6c51213-fcb6-4608-8c46-44af0d3fcf89-ezgif.com-video-to-gif-converter_wa3xql.gif" alt="image host" width="600" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Vertex AI Agent Builder allows you to integrate your agents with your data for more accurate and relevant responses. It offers pre-built options like Vertex AI Search for out-of-the-box grounding, or for more control, you can build custom Retrieval-Augmented Generation (RAG) systems using its search component APIs. Additionally, vector search capabilities allow for building even more accurate and valuable embedding-based agents. &lt;/p&gt;

&lt;p&gt;With Vertex AI data connectors you can also ingest your data from third-party applications like ServiceNow, Hadoop, Salesforce, and other commonly used enterprise systems.&lt;/p&gt;

&lt;p&gt;Complex tasks can be broken down into smaller, more manageable components. Vertex AI Agent builder allows you to create multiple agents, with a "main" agent and supporting "subagents."  These subagents can collaborate seamlessly, passing information and collaborating to achieve the overall goal.&lt;/p&gt;

&lt;p&gt;Vertex AI Agent builder goes beyond prototyping. It provides tools to refine your initial concepts into production-grade agents. You can monitor agent performance in real time, identify areas for improvement, and use natural language training to enhance responses to specific queries. You can monitor key metrics like usage, latency, safety, and cost to identify potential issues and optimize performance over time. &lt;/p&gt;

&lt;p&gt;Vertex AI Agent builder includes built-in security features to ensure your agents meet enterprise scaling needs, compliance, and security standards. It also includes features that allow you to easily manage access and ensure the responsible use of AI models and data.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Vertex AI Agent builder features at a Glance.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9g2q3xviirsqa9l9irel.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9g2q3xviirsqa9l9irel.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Ditch the complex coding&lt;/strong&gt; - Vertex AI Agent builder features an intuitive no-code interface that allows you to design conversational AI agents using plain English. Define your agent's goals, provide step-by-step instructions for achieving them, and share sample conversations to guide its responses.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Flexibility&lt;/strong&gt; - Vertex AI Agent builder caters to non-technical users through the no-code interface.  For experienced coders, LangChain on Vertex AI offers a code-first approach for creating highly customized and powerful agents.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Modular agent architecture&lt;/strong&gt; -   For complex tasks, you can build subagents that work seamlessly together. Imagine a customer service scenario where a primary agent handles initial inquiries. At the same time, a subagent retrieves user purchase history directly from your CRM system, providing a more holistic and personalized experience.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Pre-built grounding systems&lt;/strong&gt; - Out-of-the-box options like Vertex AI search seamlessly connect your agents to your company data, ensuring responses are anchored in reliable sources.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Customizable RAG&lt;/strong&gt; — You can use Vertex AI's Search Component APIs to build bespoke RAG systems. These systems empower you to process documents, rank retrieved information based on relevance, and communicate with your own data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Real-time Monitoring and Optimization&lt;/strong&gt; - Continuously monitor agent performance, identify areas for improvement, and use natural language training to enhance responses to specific queries. This ensures your agents remain relevant and effective over time. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Enterprise-Grade Security and Compliance&lt;/strong&gt; -  Built-in security features ensure your AI agents operate within the boundaries of your organization's compliance standards. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Comparison between AgentCloud and Vertex AI Agent builder
&lt;/h2&gt;

&lt;p&gt;Both AgentCloud and Vertex AI Agent Builder offer compelling features. But which one is the right fit for your needs? Let's delve into their key functionalities to help you decide.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F46rwi3jdpij17bpjhouv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F46rwi3jdpij17bpjhouv.png" alt="Image description" width="800" height="667"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Focus and flexibility:&lt;/strong&gt;
Agent Cloud specializes in data interaction and conversation building, making it ideal for building chatbots that users can interact with to access information. It also offers a built-in process automation functionality. You can leverage multiple AI agents working together "multi-agents" to automate complex and repetitive business processes. &lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Vertex AI Agent Builder offers both conversational AI agents and process automation functionalities. This allows you to build a broader range of virtual assistants. You can create customer service chatbots, data analysis tools, or even workflow automation tools using subagents and function calls. While it offers process automation, it might not be as robust as Agent Cloud's multi-agent approach designed for this purpose.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Data integration and grounding:&lt;/strong&gt;
AgentCloud boasts a built-in Retrieval-Augmented Generation (RAG) system as a service, facilitating the creation of data-driven chat applications. You can connect to over 300 data sources and embed information for retrieval through your chat app.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Vertex AI agent builder also provides multiple options for data grounding. You can leverage pre-built systems like Vertex AI Search or build custom RAG systems using Search Component APIs. This grants more significant control over how your agents access and utilize data.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Process automation:&lt;/strong&gt;
AgentCloud excels in automating processes by enabling the use of multiple AI agents working together. This is ideal for streamlining complex workflows and eliminating repetitive tasks.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Vertex AI Agent builder: While it supports process automation, its focus is less pronounced than Agent Cloud. However, it offers functionalities like subagents and function calls, allowing for some level of workflow automation.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Development approach and security:&lt;/strong&gt;
AgentCloud’s open-source nature allows for self-deployment on your preferred cloud infrastructure, offering greater control and potentially enhanced data privacy. However, you'll need to manage the underlying applications yourself.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Vertex AI Agent builder on the other hand operates within Google Cloud's infrastructure, providing a managed service with built-in security features for responsible use of AI models and data. This eliminates the need for in-depth infrastructure management but may not offer the same level of customization as a self-hosted solution.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Openness and scalability:&lt;/strong&gt;
Agent Cloud is LLM-agnostic, meaning you can connect your open-source models or use cloud models from providers like OpenAI or Azure. This offers excellent flexibility but may require additional configuration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At the time of writing this article, Vertex AI Agent Builder supported Google's latest Gemini models. It integrates seamlessly with other Google Cloud services, facilitating scalability within the Google Cloud ecosystem.&lt;/p&gt;




&lt;h2&gt;
  
  
  What to Consider When Choosing Between Agent Cloud and Vertex Agent Builder.
&lt;/h2&gt;

&lt;p&gt;If your primary focus is building chatbots for users to interact with and gain insights from your data, AgentCloud excels in this area. Its built-in RAG system and data embedding functionalities streamline data retrieval and conversation management within your chat application.&lt;/p&gt;

&lt;p&gt;For complex workflows requiring automation with multiple AI agents working together, Agent Cloud's multi-agent approach is a strong choice.  AgentCloud also offers a broader range of data source connections (over 300) and the ability to use your open-source models. This provides greater control over integrating and utilizing data within your AI agents.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you prioritize open-source solutions and want complete control over deployment on your preferred cloud infrastructure, AgentCloud allows for self-deployment.  This can be ideal if your company has strict data privacy requirements.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;When your project demands a broader range of virtual assistant capabilities, Vertex AI Agent Builder offers both conversational AI agents and process automation functionalities. This allows you to build a broader spectrum of AI-powered tools.&lt;/p&gt;

&lt;p&gt;If you have developers new to AI development, Vertex AI Agent builder's no-code interface simplifies the agent creation process. This can significantly reduce development time and resources. AgentCloud has a similar interface.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Vertex AI Agent Builder operates within Google Cloud's infrastructure, offering built-in security features and seamless integration with other Google Cloud services. If you're comfortable using Google's cloud-based AI models Vertex AI Agent Builder is a strong choice.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;AgentCloud and Vertex AI Agent builder (Google Cloud Agents) offer outstanding features that empower you to interact with your data through conversation and automate tasks.  While Vertex AI Agent Builder excels in its versatility and ease of use, AgentCloud shines for its focus on data interaction and complex process automation with multi-agent workflows. Ultimately, the choice depends on your specific needs.  &lt;/p&gt;

&lt;p&gt;For the most control over data integration and the power of multi-agent automation, consider exploring AgentCloud.  It offers an open-source approach and a wider range of data source connections, making it ideal for organizations with complex data interaction requirements.&lt;/p&gt;

&lt;p&gt;That's it for today. I hope you found this article helpful. &lt;/p&gt;

&lt;p&gt;Ready to jump in? our &lt;a href="https://docs.agentcloud.dev/documentation/get-started/quickstart" rel="noopener noreferrer"&gt;Quickstart guide&lt;/a&gt; is the perfect next step to get you going with AgentCloud.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Got thoughts or questions? &lt;/li&gt;
&lt;li&gt;Have you tried building a RAG Chat App?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;🤝 Let's learn from each other. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExaTBsemhpcnVxejF6YzU2NXBlOHJmMjg2emg0ZGcyOThiNjExMXZweiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/e6V7gnMaE0m6rCiVqT/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExaTBsemhpcnVxejF6YzU2NXBlOHJmMjg2emg0ZGcyOThiNjExMXZweiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/e6V7gnMaE0m6rCiVqT/giphy.gif" width="480" height="480"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;🔍 learn more about AgentCloud? read out other comparison blogs.📊&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Explore how AgentCloud compares with other platforms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-crewai-a-comparison" rel="noopener noreferrer"&gt;Agent Cloud vs. CrewAI&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-openai" rel="noopener noreferrer"&gt;Agent Cloud vs. OpenAI&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;and discover which option suits you the best ✨&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>openai</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How to Build a RAG Chat App With Agent Cloud and BigQuery</title>
      <dc:creator>Ankur Tyagi</dc:creator>
      <pubDate>Wed, 17 Apr 2024 08:57:49 +0000</pubDate>
      <link>https://dev.to/agentcloud/how-to-build-a-rag-chat-app-with-agent-cloud-and-bigquery-15b</link>
      <guid>https://dev.to/agentcloud/how-to-build-a-rag-chat-app-with-agent-cloud-and-bigquery-15b</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Interacting with your data helps you and your team to gain relevant insights and make informed decisions for your business. Retrieval-augmented generation (RAG) chat applications allow you to chat with your data.&lt;/p&gt;

&lt;p&gt;Retrieval-augmented generation enhances the accuracy of large language models by allowing them to consult an external data source before generating an output. The output of these LLMs is based on facts gathered from the embedded data sources.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt; is an open-source generative AI platform with a built-in RAG as a Service that enables you to build and deploy LLM-powered conversation chat apps for talking with your data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxz2qse0ark00xz5swwdt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxz2qse0ark00xz5swwdt.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Agent Cloud’s RAG as a Service also has a built-in data pipeline that allows you to split, chunk, and embed data from over 300 data sources, including BigQuery.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This article will guide you on how to build a RAG chat application using Agent Cloud to privately and securely talk with your Google BigQuery data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExbWlrOWoyYm5iN2Vvd2ZraGV3emFjd3RyNzh2cjhsbWhwdGh4anVjaSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/qt73FYHjuXqAj241m8/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExbWlrOWoyYm5iN2Vvd2ZraGV3emFjd3RyNzh2cjhsbWhwdGh4anVjaSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/qt73FYHjuXqAj241m8/giphy.gif" width="480" height="480"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Prerequisite
&lt;/h2&gt;

&lt;p&gt;This article is a comprehensive guide that takes you on a step-by-step journey, explaining each concept and configuration clearly. No prior experience in building RAG chat apps or interacting with Google BigQuery data is required to follow along.&lt;/p&gt;




&lt;h2&gt;
  
  
  Setting-Up BigQuery
&lt;/h2&gt;

&lt;p&gt;Let’s set up our BigQuery data warehouse. You may skip this section if your data is on BigQuery already.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a Google Cloud Platform &lt;a href="https://accounts.google.com/InteractiveLogin/signinchooser?continue=https%3A%2F%2Fconsole.cloud.google.com%2F&amp;amp;followup=https%3A%2F%2Fconsole.cloud.google.com%2F&amp;amp;osid=1&amp;amp;passive=1209600&amp;amp;service=cloudconsole&amp;amp;ifkv=ARZ0qKJ5dLT16AWdxJo6Db6DnQkbTsMOUnJyOvFVepGeD4DqeEEZ9yFt0HZRBYZWSc4Hf3WVtmgKiw&amp;amp;theme=mn&amp;amp;ddm=0&amp;amp;flowName=GlifWebSignIn&amp;amp;flowEntry=ServiceLogin" rel="noopener noreferrer"&gt;account&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Create a new project and navigate into the BigQuery pane.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpegggo924azjobx2hsc9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpegggo924azjobx2hsc9.png" alt="Image description" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here, we gave our project the name &lt;code&gt;test-agent-cloud&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;You can give yours any name whatever you prefer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fke6eocw49kl210ok74ey.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fke6eocw49kl210ok74ey.png" alt="Image description" width="800" height="312"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create dataset. Click on the kebab menu near your project name and select Create Dataset.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7mnnwvyjb8isejab437c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7mnnwvyjb8isejab437c.png" alt="Image description" width="744" height="431"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Configure the necessary information for your dataset e.g id and location.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbdv317jadwvmuu2rykb3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbdv317jadwvmuu2rykb3.png" alt="Image description" width="714" height="900"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here are the details of our newly created dataset.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhxy31iq3p0z9kmvlshtk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhxy31iq3p0z9kmvlshtk.png" alt="Image description" width="800" height="307"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create tables inside your dataset. To create tables, click on the kebab button and select Create table.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9h78r2100n0n4ohpqpap.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9h78r2100n0n4ohpqpap.png" alt="Image description" width="511" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add the table data. You can create an empty table, upload data, or add data from Google Cloud Storage, Drive, Bigtable, Amazon S3, and Amazon Blob Storage. In this demo, we will upload the World Economic Indicator dataset, publicly available data on &lt;a href="https://mavenanalytics.io/data-playground?page=1&amp;amp;pageSize=5" rel="noopener noreferrer"&gt;Maven Analytics&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqgwqxrobsuy7l2epgk21.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqgwqxrobsuy7l2epgk21.png" alt="Image description" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is our dataset schema.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffy70ouoe54buvd0etvrh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffy70ouoe54buvd0etvrh.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is our dataset preview.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvhhhripw4zhf3g8om27a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvhhhripw4zhf3g8om27a.png" alt="Image description" width="800" height="343"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We are done setting up our BigQuery data warehouse. Next, we will setup Agent Cloud on our local machine.&lt;/p&gt;




&lt;h2&gt;
  
  
  Creating Your GCP Service Account Key
&lt;/h2&gt;

&lt;p&gt;You must provide your GCP service account key to embed your BigQuery data into Agent Cloud. This section will show you how to create a service account. You may skip this section if you have your service account JSON already.&lt;/p&gt;

&lt;p&gt;Follow the steps below to create and download your service account key:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inside GCP, navigate to &lt;strong&gt;IAM &amp;amp; Admin&lt;/strong&gt; &amp;gt; &lt;strong&gt;Service Accounts ** and select **CREATE SERVICE ACCOUNT&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fivtz3bqt8fgapk8gr507.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fivtz3bqt8fgapk8gr507.png" alt="Image description" width="800" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fill in the details for your service account.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9khsgckjjbo1hkppudr3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9khsgckjjbo1hkppudr3.png" alt="Image description" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Assign it a Storage Admin role and click Done.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3o98w84ynbqz39m8z9hu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3o98w84ynbqz39m8z9hu.png" alt="Image description" width="800" height="601"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your new service account is now live, but no key yet.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw9ir396c63ipwgs575ji.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw9ir396c63ipwgs575ji.png" alt="Image description" width="800" height="191"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on the service account email, go to the &lt;strong&gt;KEYS&lt;/strong&gt; tab, select &lt;strong&gt;ADD KEY&lt;/strong&gt;, and then &lt;strong&gt;Create new key&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvm1cibke07ac2xgq9ge1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvm1cibke07ac2xgq9ge1.png" alt="Image description" width="800" height="290"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select JSON as key type then click on create. Your service account JSON or key JSON will automatically download.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8dy6iu50fncx8c3jj7iz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8dy6iu50fncx8c3jj7iz.png" alt="Image description" width="744" height="498"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Keep it safe. You will need it later -  Agent Cloud will request it (as Credential JSON) when embedding your BigQuery data.&lt;/p&gt;




&lt;h2&gt;
  
  
  Running Agent Cloud Locally
&lt;/h2&gt;

&lt;p&gt;We need to set up Agent Cloud on our local machine to build our RAG chat app. Soon, you will have the option to use Agent Cloud’s managed &lt;a href="https://www.agentcloud.dev/join-cloud-waitlist" rel="noopener noreferrer"&gt;cloud platform&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Use the following steps to set up Agent Cloud on your local machine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clone the &lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;repository&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Navigate into the repository clone and run &lt;a href="https://www.docker.com/products/docker-desktop/" rel="noopener noreferrer"&gt;Docker Desktop&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Start Services. To start services, run the following command for Mac and Linux users. For Windows users, we recommend using &lt;a href="https://learn.microsoft.com/en-us/windows/wsl/install" rel="noopener noreferrer"&gt;WSL&lt;/a&gt;.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;chmod&lt;/span&gt; +x install.sh &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; ./install.sh

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvkedqwwrjvuqg5mnnocg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvkedqwwrjvuqg5mnnocg.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If everything goes well with the installation, there will be seven containers running.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzanqosjiuov50e7nil9b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzanqosjiuov50e7nil9b.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExOGhtNWxoYW1yYnp0ZTd2eGFkbG1nend3aHR3aHV0cjl6ZDkxNnF3NSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/YMgEC6u53fctZruPsc/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExOGhtNWxoYW1yYnp0ZTd2eGFkbG1nend3aHR3aHV0cjl6ZDkxNnF3NSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/YMgEC6u53fctZruPsc/giphy.gif" width="480" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;❗️Heads up: Installing might take a while depending on your computer. It's a good idea to check out our docs for tips on setting up your system. You can find them &lt;a href="https://docs.agentcloud.dev/documentation/get-started/quickstart" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fly608d8r18gyngtg746l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fly608d8r18gyngtg746l.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once all the Docker containers are running.&lt;/li&gt;
&lt;li&gt;Go to &lt;a href="http://localhost:3000" rel="noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt; to signin/signup on Agent Cloud and start building your application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl7e9325s0bnnkqtvqy7l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl7e9325s0bnnkqtvqy7l.png" alt="Image description" width="696" height="893"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is what Agent Cloud looks like after logging in.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8xdsbmfoalddtiiecnft.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8xdsbmfoalddtiiecnft.png" alt="Image description" width="800" height="372"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Add Your Model
&lt;/h2&gt;

&lt;p&gt;Go into the &lt;strong&gt;Models&lt;/strong&gt; page and add two models.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the fast embed model&lt;/li&gt;
&lt;li&gt;an LLM&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The fast embed model is a lightweight model that will run locally on your machine to split, chunk, and embed data.&lt;/p&gt;

&lt;p&gt;For your LLM, you can use either OpenAI, Azure OpenAI, or LMStudio and add your credentials.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzydt4k27c2hazyqzusoc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzydt4k27c2hazyqzusoc.png" alt="Image description" width="800" height="256"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Connect Datasource
&lt;/h2&gt;

&lt;p&gt;Agent Cloud allows you to split, chunk, and embed data from over 300 sources. In this case, our data source is BigQuery. Let’s connect to BigQuery.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to the &lt;strong&gt;Data Sources&lt;/strong&gt; screen and click &lt;strong&gt;New Connection&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8cl9syqr37ot42youzpl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8cl9syqr37ot42youzpl.png" alt="Image description" width="800" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select BigQuery as your datasource&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fembywa2cwgr50iep9jv0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fembywa2cwgr50iep9jv0.png" alt="Image description" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Give your datasource a name and select the sync schedule for your data (for now, you may set it to &lt;strong&gt;Manual&lt;/strong&gt;).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Under the hood, Agent Cloud runs Airbyte on localhost:8000 to process your data. Other application running under the hood are Qdrant (&lt;a href="http://localhost:6333/dashboard#/collections" rel="noopener noreferrer"&gt;http://localhost:6333/dashboard#/collections&lt;/a&gt;) and RabbitMQ (&lt;a href="http://localhost:15672" rel="noopener noreferrer"&gt;http://localhost:15672&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fis1z85o9kgwsu1ex1beh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fis1z85o9kgwsu1ex1beh.png" alt="Image description" width="800" height="383"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Add your BigQuery &lt;strong&gt;Dataset ID&lt;/strong&gt; so that Airbyte won’t have to search all datasets which may take too long if you have many datasets. Enter your Google Cloud Project ID and your credentials JSON. Your credential JSON is the service account JSON you created in a previous section of this article.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note: Ensure to convert your credential JSON to a single line code to avoid getting an error from Agent Cloud.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7hb21rvf57tq9uaa7v7w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7hb21rvf57tq9uaa7v7w.png" alt="Image description" width="800" height="663"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select tables and fields to sync. Then select your embedding model.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Create a Tool
&lt;/h2&gt;

&lt;p&gt;Go into the &lt;strong&gt;Tools&lt;/strong&gt; screen and create a new tool.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmr7v88ousjcf1rwrmd64.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmr7v88ousjcf1rwrmd64.png" alt="Image description" width="800" height="347"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create a detailed description of your tool. It helps the LLM decide what tool to use.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwfq9f2ddph70gn1zoqa8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwfq9f2ddph70gn1zoqa8.png" alt="Image description" width="800" height="435"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Create an Agent
&lt;/h2&gt;

&lt;p&gt;Go into the &lt;strong&gt;Agents&lt;/strong&gt; screen and create a new agent.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwws9raszzkmf58v575t6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwws9raszzkmf58v575t6.png" alt="Image description" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Give the Agent a &lt;strong&gt;Role&lt;/strong&gt;, &lt;strong&gt;Goal&lt;/strong&gt;, and &lt;strong&gt;Backstory&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Also, select the LLM and tool you want to use. Select the RAG tool that we created earlier. Note that you can use multiple tools if you have multiple data sources.&lt;/p&gt;

&lt;p&gt;You can use the following information for the role, goal, and backstory:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Role&lt;/strong&gt;: You are an AI Assistant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Goal&lt;/strong&gt;: Have a back-and-forth conversation with the user.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backstory&lt;/strong&gt;: You are an Agent Cloud Assistant, a helpful assistant designed to answer questions provided by a user.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyx8skfi0zk3w1bhh6mtz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyx8skfi0zk3w1bhh6mtz.png" alt="Image description" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Create a Task
&lt;/h2&gt;

&lt;p&gt;Navigate into the &lt;strong&gt;Tasks&lt;/strong&gt; screen and set up a task.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fctm8shtkrkscr9xrrsvq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fctm8shtkrkscr9xrrsvq.png" alt="Image description" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add the following description for your task description:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Have a back-and-forth conversation with the user.&lt;br&gt;
Be clear in your answers always.&lt;br&gt;
If you don't know the answer, say "I do not know."&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Create an App
&lt;/h2&gt;

&lt;p&gt;Let’s create a conversation interface for chatting with your data. &lt;/p&gt;

&lt;p&gt;Go into the &lt;strong&gt;Apps&lt;/strong&gt; and click on &lt;strong&gt;New App&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Conversation Chat App&lt;/strong&gt; as the &lt;strong&gt;App Type&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select the Conversation Agent you created earlier.&lt;/li&gt;
&lt;li&gt;Also, select the Task you created earlier.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Sequential&lt;/strong&gt; as the Process type.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn1q8kxi8qrqmw4lkyvm7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn1q8kxi8qrqmw4lkyvm7.png" alt="Image description" width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Save the app and run it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fddn3d50d83fcxocad2ol.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fddn3d50d83fcxocad2ol.png" alt="Image description" width="800" height="247"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Start chatting with your data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1owuv7k5ovscgo89ye9w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1owuv7k5ovscgo89ye9w.png" alt="Image description" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yay, we did it 😎&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExeGFmYWVpMXc4c3p0d3I5bDFlamtvazMyNmJ2OXpwajd5Z2FwczcwNiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/l0unkiodQqmA3lPO5e/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExeGFmYWVpMXc4c3p0d3I5bDFlamtvazMyNmJ2OXpwajd5Z2FwczcwNiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/l0unkiodQqmA3lPO5e/giphy.gif" width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 Want more? Check out our video tutorial! 🎥
&lt;/h2&gt;

&lt;p&gt;If you prefer a visual walkthrough, we've got you covered.&lt;/p&gt;

&lt;p&gt;Watch the complete guide on "How to Build a RAG Chat App With Agent Cloud and BigQuery" on our YouTube channel: &lt;a href="https://youtu.be/POLdnrjsy9c?feature=shared" rel="noopener noreferrer"&gt;Video Tutorial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5u0j6d3wsdrkherncl4x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5u0j6d3wsdrkherncl4x.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And 👋 hey, if you have any questions or need further assistance, don't hesitate to join our Discord community.&lt;/p&gt;

&lt;p&gt;We're here to help and chat anytime. &lt;/p&gt;

&lt;p&gt;Join us &lt;a href="https://discord.gg/QFD7hcGCWn" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;This article showed a step-by-step guide for building a RAG chat app with Agent Cloud and BigQuery.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt; is an open-source generative AI platform that enables organizations and teams to build and deploy a conversation chat app for interacting with their data. The built-in RAG as a Service has a data pipeline that allows you to embed data from over 300 sources. Agent Cloud can be useful for customer service, sales automation, streamlining data analysis, improved employee onboarding, etc.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;🔍 Want to learn more? Check out our comparison blogs! 📊&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Explore how Agent Cloud compares with other platforms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-crewai-a-comparison" rel="noopener noreferrer"&gt;Agent Cloud vs. CrewAI&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-openai" rel="noopener noreferrer"&gt;Agent Cloud vs. OpenAI&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Discover which option suits you best ✨&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>opensource</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Agent Cloud VS OpenAI</title>
      <dc:creator>Ankur Tyagi</dc:creator>
      <pubDate>Thu, 11 Apr 2024 11:07:55 +0000</pubDate>
      <link>https://dev.to/agentcloud/agent-cloud-vs-openai-fh4</link>
      <guid>https://dev.to/agentcloud/agent-cloud-vs-openai-fh4</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Generative AI is a growing field of artificial intelligence where large language models (LLM) are pre-trained on large amounts of data to generate text, images, video, or voice data. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Sometimes, models may not need to rely solely on pre-training data to generate accurate results. It can leverage external data sources to generate accurate and factually consistent responses. This process is known as Retrieval-Augmented Generation (RAG). &lt;/p&gt;

&lt;p&gt;RAG can help organizations talk to their data and generate meaningful insights from the conversation. RAG elevates the capabilities of large language models and helps them generate reliable and contextually relevant content. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt; is an open-source generative AI platform that offers a built-in RAG pipeline to help you securely talk to your data using your preferred LLM.&lt;/strong&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The RAG as a Service offering of Agent Cloud allows you to ingest or sync data from over 300 sources including &lt;strong&gt;Google BigQuery&lt;/strong&gt;, &lt;strong&gt;Salesforce&lt;/strong&gt;, &lt;strong&gt;Atlassian Confluence&lt;/strong&gt;, &lt;strong&gt;Zendesk&lt;/strong&gt;, &lt;strong&gt;Airbyte&lt;/strong&gt;, &lt;strong&gt;Drive&lt;/strong&gt;, &lt;strong&gt;SharePoint&lt;/strong&gt; and &lt;strong&gt;OneDrive&lt;/strong&gt;. You can chat with your data from multiple sources from a single point - Agent Cloud. More than building private LLM chat apps, Agent Cloud also enables you to automate manual processes by assigning tasks to its LLM-powered agents to complete. These agents work in groups to achieve a given objective. With Agent Cloud’s process automation, you can automate complex business processes and abstract away manual redundancies. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F15loa8ql8tl763qgb9d0.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F15loa8ql8tl763qgb9d0.gif" alt="Alt text" width="444" height="332"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;⭐️ &lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;Support the open-source community, Star Agent Cloud&lt;/a&gt; ⭐️&lt;/p&gt;




&lt;p&gt;&lt;a href="https://openai.com" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt; is an AI research organization and a technology company building large language models with different capabilities like text, image, and voice generation. It also focuses on the research and building of safe artificial general intelligence (AGI). OpenAI’s products include GPTs for generating text, DALL-E for generating realistic images, and Whisper a speech recognition system for identifying, transcribing, and translating multiple human languages.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvtmxr9mmig5ribhw7szk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvtmxr9mmig5ribhw7szk.png" alt="Image description" width="500" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This article will do a comparison between Agent Cloud and OpenAI using key indicators like core functionalities, key features, differences, and use cases. In the end, it will help you understand what these tools do and what to consider when choosing between them. &lt;/p&gt;




&lt;h2&gt;
  
  
  Core Functionalities of Agent Cloud and OpenAI
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt; and &lt;a href="https://openai.com" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt;, while focused on generative AI, have distinction in their core functionalities. Agent Cloud’s core focus is RAG as a Service for creating conversation chat apps using any LLM of your choice and process automation using multiple AI agents. The RAG pipeline of Agent Cloud enables you to split, chunk, and natively embed data from over 300 sources. This way, you can chat securely and privately with your data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu9q7dexjlna42x2dptw7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu9q7dexjlna42x2dptw7.png" alt="Image description" width="500" height="735"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Under the hood, Agent Cloud uses open source stack like Airbyte for its ELT pipeline, RabbitMQ for message bus, and Qdrant for vector database. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Agent Cloud is completely abstracted so you do not need to manage any of these applications if you don’t want to. Because it is open source, you can deploy it securely to your own cloud service. Currently, it supports OpenAI and Azure OpenAI cloud models, but in the future, it will support all cloud providers, making it easy to use any cloud model you prefer. &lt;/p&gt;

&lt;p&gt;Furthermore, with Agent Cloud process automation functionality, you can build process apps that leverage multi-agents to complete tasks. This way, complex and redundant business processes can be automated. The multi-agent engine of Agent Cloud is an abstracted Lanchain-based runtime called CrewAI. The engine enables AI agents to perform and complete their assigned objectives. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fki2ys9hpc0kxaz052fnh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fki2ys9hpc0kxaz052fnh.png" alt="Image description" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The following is a bullet breakdown of the core functionalities of Agent Cloud:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Focus on data interaction and conversation building.&lt;/li&gt;
&lt;li&gt;Focus on process automation using multiple AI agents that work in groups to complete tasks. &lt;/li&gt;
&lt;li&gt;Ability to connect to various data sources and extract information.&lt;/li&gt;
&lt;li&gt;Construction of conversational interfaces (chatbots) for interacting with your data.&lt;/li&gt;
&lt;li&gt;Abstraction. You do not need to know how the apps under the hood work.&lt;/li&gt;
&lt;li&gt;LLM agnostic. You are not constrained to any LLM - You can connect your open-source model or use OpenAI.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fac2ci28r4ipnhfn72ua7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fac2ci28r4ipnhfn72ua7.png" alt="Image description" width="800" height="568"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OpenAI, on the other hand, is a proprietary (closed source) AI research and development company. &lt;/p&gt;

&lt;p&gt;Although its research interest spans a broad range of AI disciplines, its primary focus is generative artificial intelligence using large language models. It has produced several notable AI systems and LLM, including GPTs, DALL-E, Whisper, Sora, a text-to-video LLM, and OpenAI Gym, a toolkit for reinforcement learning algorithms. &lt;/p&gt;

&lt;p&gt;These are some of OpenAI’s core product offerings. Its models are pre-trained on very large data parameters making it capable of generating accurate and factually consistent text, voice, video, and image content. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmeli6seld8k5gatiurgq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmeli6seld8k5gatiurgq.png" alt="Image description" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OpenAI GPTs are advanced large language models pre-trained on massive amounts of data and hence are capable of generating text content like code, letters, articles, etc. GPT-4, OpenAI’s latest and most advanced text generation LLM, is a multimodal model with enhanced capabilities like improved natural language processing. OpenAI’s core functionality is generative AI, focusing on text, voice, video, and image data. Its API allows the integration of LLMs like GPTs, Whisper, and DALL-E into your different projects. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The following is a bullet breakdown of some core functionalities of Open AI:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Research and development of AI systems like GPTs, Whisper, Sora, and DALL-E&lt;/li&gt;
&lt;li&gt;Focus on safe and beneficial artificial general intelligence (AGI)&lt;/li&gt;
&lt;li&gt;API integration with its LLMs. OpenAI allows you to integrate its LLMs into your projects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foxnfxqqp7wwp1w2z4q8v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foxnfxqqp7wwp1w2z4q8v.png" alt="Image description" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;p&gt;Let's explore the main features of Agent Cloud and OpenAI.&lt;/p&gt;

&lt;h3&gt;
  
  
  Agent Cloud’s Key Features
&lt;/h3&gt;

&lt;p&gt;Below are the key features of Agent Cloud:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Built-in RAG Pipeline&lt;/strong&gt;: Agent Cloud has a built-in RAG as a Service that enables you to build and deploy conversational chat apps seamlessly. These chat apps allow you to talk to your data and gain relevant insights.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Embedding&lt;/strong&gt;: Split, chunk, and embed data from over 300 data sources that you can chat with in your RAG chat app. Agent Cloud’s built-in vector database stores your data as vectors, making them easily retrievable. You can also specify how frequently you want your data to sync. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Process Automation&lt;/strong&gt;: Automate business processes using Agent Cloud’s multiple AI agents. These AI agents can work in groups to complete an assigned task. Process automation eliminates manual work by letting capable AI agents handle tasks for you. You can also enable these AI agents to access third-party APIs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Conversation Management&lt;/strong&gt;: Manage conversation with your data securely from a single point - Agent Cloud. Agent Cloud, because it is capable of syncing data from multiple sources, can be a powerful search engine for your organization’s data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Privacy and Security&lt;/strong&gt;: Agent Cloud is open source, allowing you to deploy your application to your own cloud infrastructure. This is important for organizations that are concerned about data privacy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Permission&lt;/strong&gt;: Agent Cloud allows you to enable team and user permission for your app. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  OpenAI’s Key Features
&lt;/h3&gt;

&lt;p&gt;Below are the key features of OpenAI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Generative AI Models&lt;/strong&gt;: OpenAI offers broad generative AI models such as GPTs capable of generating text data, Whisper for voice data generation, Sora for text-to-video generation, and DALL-E for text-to-image generation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cutting-Edge AI Research&lt;/strong&gt;: OpenAI also specializes in cutting-edge research in models capable of natural language processing (e.g text generation, translation, and code completion), computer vision, robotic and artificial general intelligence.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;API Offering&lt;/strong&gt;: Through OpenAI’s API, you can access LLMs like GPTs, Whisper, DALL-E, and Sora for easy integration into your existing projects.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Model Fine-Tuning&lt;/strong&gt;: OpenAI allows customization of its LLMs for specific tasks. This is called model fine-tuning. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Key Differences Between Agent Cloud and OpenAI
&lt;/h2&gt;

&lt;p&gt;In this section, we will go over some key differences between Agent Cloud and OpenAI.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Focus&lt;/strong&gt;: Agent Cloud’s core focus is RAG as a Service and process automation. It emphasizes data interaction through building and deploying RAG conversational chat apps using LLMs as a component. OpenAI, on the other hand, prioritizes research and development of LLMs, offering them as API integration into various applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Tools and Functionality&lt;/strong&gt;: Agent Cloud provides a RAG pipeline with native data embedding and a process automation tool with multi-agent task collaboration. OpenAI offers pre-trained LLMs with abilities to fine-tune them for your needs. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Deployment and Control&lt;/strong&gt;: Agent Cloud gives more data privacy by allowing you to self-deploy to your own cloud. OpenAI offers only Cloud-based and API-level access to their LLMs. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;LLM Agnosticism&lt;/strong&gt;: Agent Cloud is LLM agnostic, allowing you to use any open-source LLM or OpenAI for your conversational chat apps. OpenAI only allows you to use their LLM offerings (GPTs, Sora, DALL-E, and Whisper).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47rli60zgg7xl1m79fm6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47rli60zgg7xl1m79fm6.png" alt="Image description" width="800" height="541"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Use Case
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Agent Cloud&lt;/strong&gt; product offerings cater to the needs of businesses in different ways. Let’s highlight some use cases for Agent Cloud:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Building data-driven virtual assistants and chatbots for customer service, sales, or employee interaction.&lt;/li&gt;
&lt;li&gt;Interacting with your data to gain relevant insights. &lt;/li&gt;
&lt;li&gt;Automating business processes. Automate repetitive tasks like scheduling appointments, business analysis, social media posts, product description, customer analysis, etc.&lt;/li&gt;
&lt;li&gt;Enhancing customer experience. Because Agent Cloud can securely access user data, it can be helpful for personalized user engagements like marketing offers and product suggestions. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The following are some use cases of OpenAI:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Text generation for marketing copywriting, content marketing, or code generation.&lt;/li&gt;
&lt;li&gt;Identifying, translating, and transcribing languages in both text and voice format.&lt;/li&gt;
&lt;li&gt;Integration of LLMs into your existing products. &lt;/li&gt;
&lt;li&gt;Using LLMs for research in various fields. &lt;/li&gt;
&lt;li&gt;Computer vision. Models like DALL-E 2 help in creative image content creation and imaging analysis.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  What to Consider When Choosing Between Agent Cloud and OpenAI
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://openai.com" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt;&lt;/strong&gt; are both great tools. However, the choice of which to choose depends on your needs. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Agent Cloud offers a RAG pipeline that can embed data from over 300 sources. You can easily create a chat interface for interaction with your data and gain relevant insights from it. Agent Cloud takes privacy seriously, allowing you to deploy your app to your own cloud infrastructure. Furthermore, you can automate business processes, including repetitive tasks using Agent Cloud’s process automation solution. This solution enables you to deploy AI agents that work collaboratively to complete tasks for you.&lt;/p&gt;

&lt;p&gt;OpenAI offers extensive AI solutions, including text, voice, and media data generation. Its pre-trained large language models are integrable to your application and can be fine-tuned for specific purposes. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If your needs involve quick deployment of AI-powered chat apps, task automation, data embedding, and privacy, then &lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt; should be your go-to tool. &lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Agent Cloud and OpenAI stand out as great generative AI tools. Both tools have outstanding features. OpenAI shines with API offering, LLM capabilities, AGI research, and model fine-tuning. Plus, it has a large community around it. Agent Cloud shines in RAG chat apps, process automation, conversation management, and data privacy. &lt;/p&gt;

&lt;p&gt;Finally, deciding what tools to use between Agent Cloud and OpenAI depends on your project’s needs. However, if you are looking to quickly build chatbots, virtual assistants, or other conversation AI applications, Agent Cloud is a good choice. Its built-in RAG pipeline simplifies data integration from multiple sources. It also prioritizes data privacy by allowing deployment to your own cloud infrastructure. If you need to build and deploy LLM-powered conversational chat apps quickly using any LLM of your choice or deploy process apps, consider using &lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frponp0y9tcjvjh0lrk0s.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frponp0y9tcjvjh0lrk0s.gif" alt="Alt text" width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enjoyed this article? check out more blog on our website or Join our discord to learn/discuss more about Agent Cloud. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.agentcloud.dev/blog/agent-cloud-vs-crewai-a-comparison" rel="noopener noreferrer"&gt;Agent Cloud vs CrewAI
&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://discord.gg/4WBdXsyJzN" rel="noopener noreferrer"&gt;Join us on discord&lt;/a&gt;. &lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>opensource</category>
      <category>openai</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Agent Cloud vs CrewAI</title>
      <dc:creator>Ankur Tyagi</dc:creator>
      <pubDate>Fri, 05 Apr 2024 16:26:48 +0000</pubDate>
      <link>https://dev.to/agentcloud/agent-cloud-vs-crewai-986</link>
      <guid>https://dev.to/agentcloud/agent-cloud-vs-crewai-986</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;The demand for collaborative and generative artificial intelligence is increasing as more companies are interested in interacting with their data in a natural language, gaining valuable insights from the interaction, and automating complex business processes. AI collaboration or collaborative intelligence, refers to humans and AI working together to build powerful and efficient systems that automate tasks, make decisions, interpret data, and generate relevant outputs. Generative AI and collaborative intelligence tools like &lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt; and &lt;a href="https://www.crewai.com" rel="noopener noreferrer"&gt;CrewAI&lt;/a&gt; are important for conversing with your data and automating processes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt; is an open-source platform that enables companies to build LLM-powered conversational chat apps to talk with their data. These conversational chat apps are private and secure. They can retrieve information from hundreds of data sources. Furthermore, Agent Cloud allows you to build process apps for automating tasks and complex business processes. &lt;br&gt;
It uses multiple AI agents to ensure autonomous, collaborative, and scalable process applications that can access third-party APIs. The built-in data pipeline of Agent Cloud allows for the splitting, chunking, and embedding of data from more than 300 data sources including Postgres, Docs, Slack Google Drive, etc, making your RAG app seamless.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6jwp3o4mm6ili71mgwcu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6jwp3o4mm6ili71mgwcu.png" alt="Image description" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Oh, By The Way Before We Proceed- Do You Know
&lt;/h2&gt;

&lt;p&gt;Agent Cloud is like having your own GPT builder with a bunch extra goodies.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Top GUI features Are:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;RAG pipeline which can natively embed 260+ datasources&lt;/li&gt;
&lt;li&gt;Create Conversational apps (like GPTs)&lt;/li&gt;
&lt;li&gt;Create Multi Agent process automation apps (crewai)&lt;/li&gt;
&lt;li&gt;Tools&lt;/li&gt;
&lt;li&gt;Teams+user permissions. Get started fast with Docker and our install.sh&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We're open source so the easy way to support us is by giving a star on &lt;a href="https://github.com/rnadigital/agentcloud" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; ⭐&lt;/p&gt;




&lt;p&gt;&lt;a href="https://www.crewai.com" rel="noopener noreferrer"&gt;CrewAI&lt;/a&gt; is a collaborative process automation framework that utilizes multiple AI agents working together to automate assigned tasks. It simplifies the processes of building multi-agent automation. You can deploy your multi-agent automation within seconds using the prebuilt templates. CrewAI also provides a flexible approach for building your automation locally.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4c4wktj2m716af9ebg3i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4c4wktj2m716af9ebg3i.png" alt="Image description" width="800" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this article, we will compare Agent Cloud and CrewAI exhaustively using indicators like architectural paradigm, key features, use cases, similarities, and differences to help you understand how these tools work and how to select the more appropriate one for your organization's needs. &lt;/p&gt;




&lt;h2&gt;
  
  
  Architectural Philosophy
&lt;/h2&gt;

&lt;p&gt;Next, let's go into the architectural philosophy of both tools - Agent Cloud and CrewAI - to understand how things work at their core. &lt;/p&gt;

&lt;h2&gt;
  
  
  Agent Cloud
&lt;/h2&gt;

&lt;p&gt;Agent Cloud is an open-source generative AI platform that uses a modular architecture designed to scale with your organization. This means users can go fully private by deploying to their own cloud environment or connecting it to their locally hosted model. &lt;/p&gt;

&lt;p&gt;With Agent Cloud being LLM agnostic, you are not constrained to any LLM. It also connects to any open-source model or defaults to OpenAI. &lt;br&gt;
Agent Cloud has a built-in RAG as a Service that can ingest data from over 300 sources for knowledge retrieval for conversational chat apps. Alternatively, you can upload your own files. It supports pdf, docx, txt, xlsx, and csv files.&lt;/p&gt;

&lt;p&gt;Cron expressions help you control the sync frequency of your data from their various sources. Agent Cloud allows you to select what tables and fields get synced. You can also specify how you want your data to be split and chunked. &lt;/p&gt;

&lt;p&gt;The tool supports both character splitting and semantic chunking for files. For data sources like Bigquery and others, it automatically chunks the messages that come through the message bus. Soon, Agent Cloud users can select the fields to embed and fields to store as metadata from their data sources, and shortly, it will enable a vector upsert to give more flexibility for custom chunking.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fav74c3xc5arka6711eb1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fav74c3xc5arka6711eb1.png" alt="Image description" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Agent Cloud multi-agent engine is an abstraction of CrewAI. The multi-agent engine powers the AI agents that help you automate manual processes.&lt;/p&gt;

&lt;p&gt;Under the hood, Agent Cloud uses the following open-source stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Airtbyte for its ELT pipeline&lt;/li&gt;
&lt;li&gt;RabbitMQ for message bus.&lt;/li&gt;
&lt;li&gt;Qdrant for vector database.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzby6ljw416dbdzr39vmk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzby6ljw416dbdzr39vmk.png" alt="Image description" width="800" height="383"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Although you can access Airbyte and Qdrant (the vector database instance) locally, you don’t have to manage any of these apps. Agent Cloud is fully abstracted.&lt;/p&gt;

&lt;p&gt;For installation, Agent Cloud currently has a docker install.sh script for Mac/Linux users. &lt;a href="https://learn.microsoft.com/en-us/windows/wsl/install" rel="noopener noreferrer"&gt;WSL&lt;/a&gt; is recommended for users on Windows.&lt;/p&gt;




&lt;h2&gt;
  
  
  CrewAI
&lt;/h2&gt;

&lt;p&gt;CrewAI is an open-source framework for multi-agent collaboration built on Langchain. As a multi-agent runtime, Its entire architecture relies heavily on Langchain.&lt;/p&gt;

&lt;p&gt;Building multi-agent automation with CrewAI involves the following: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Installation&lt;/strong&gt;: Install CrewAI and other dependencies using pip.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;crewai

pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="s1"&gt;'crewai[tools]'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Agents Assembly&lt;/strong&gt;: CrewAI allows you to define your agents and assign distinct roles and backstories to them. Doing so helps agents in the way they execute tasks and how they interact in the crew.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Task Definition&lt;/strong&gt;: After assembling and defining your agents, next is to define tasks. Defining tasks helps set the objectives for your agents. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Crew Formation&lt;/strong&gt;: A crew is a group of agents working collaboratively to complete an assigned task. Form your agents into a crew and set the workflow process then start the task execution process.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Functionalities like verbose mode, language model configuration, and memory capabilities can be incorporated into your crew to improve performance. You can choose to let your crew perform tasks based on either a sequential process or a hierarchical process. The former process executes tasks one after the other while the latter follows the hierarchical approach. &lt;/p&gt;

&lt;p&gt;Although CrewAI uses OpenAI’s GPT-4 model by default for language processing, it allows connection with any LLM. Because it was built on top of Lanchain, CrewAI is compatible with all Langchain LLM components thus enabling diverse integrations. It also allows the flexibility of customizing agents and integrating human input into agent execution.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;p&gt;Let’s do a breakdown of the key features of Agent Cloud and CrewAI&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features of Agent Cloud:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1n692pujsny10flmx47k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1n692pujsny10flmx47k.png" alt="Image description" width="684" height="572"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;RAG as a Service&lt;/strong&gt;: Agent Cloud has a built-in RAG as a Service feature for building conversational chat apps that interact with your data. The RAG as a Service feature can reference multiple data sources to mitigate hallucination.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Ingestion/Syncing&lt;/strong&gt;: Agent Cloud allows you to sync data from multiple sources with a built-in Qdrant vector database. You can also specify the sync frequency for your data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Conversation Management&lt;/strong&gt;: Agent Cloud allows you to build chatbots that interact with users based on the information retrieved from your data. Because it uses connected data sources as knowledge points, it is a powerful internal search engine for your data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Multi-Agent Engine&lt;/strong&gt;: Automate complex business processes with multiple AI agents working together to complete tasks. The agents can specialize in different tasks and also collaborate to complete a task. Single-agent applications like chatbots can also be created with Agent Cloud.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Permissions&lt;/strong&gt;: Agent Cloud allows team and user permissions. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Privacy&lt;/strong&gt;: You can deploy Agent Cloud to your cloud servers, keeping your data within your control.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Key Features of CrewAI:
&lt;/h2&gt;

&lt;p&gt;The following are the key features of CrewAI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Multi-Agent Collaboration&lt;/strong&gt;: Multi-agent collaboration is the core of CrewAI’s strength. It allows you to define agents, assign distinct roles, and define tasks. Agents can communicate and collaborate to achieve their shared objective.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Role-Based Design:&lt;/strong&gt; Assign distinct roles to agents to promote efficiency and avoid redundant efforts. For example, you could have an “analyst” agent analyzing data and a “summary” agent summarizing the data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Shared Goals&lt;/strong&gt;: Agents in CrewAI can work together to complete an assigned task. They exchange information and share resources to achieve their objective. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Process Execution&lt;/strong&gt;: CrewAI allows the execution of agents in both a sequential and a hierarchical process. You can seamlessly delegate tasks and validate results.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Privacy and Security&lt;/strong&gt;: CrewAI runs each crew in standalone virtual private servers (VPSs) making it private and secure.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Similarities and Differences
&lt;/h2&gt;

&lt;p&gt;Next, let's explore the similarities and differences between Agent Cloud and CrewAI&lt;/p&gt;

&lt;h3&gt;
  
  
  Similarities
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;They both allow you to connect to any LLM including local LLMs like Ollama.&lt;/li&gt;
&lt;li&gt;Both Agent Cloud and CrewAI are open source.&lt;/li&gt;
&lt;li&gt;They both take privacy and security seriously.&lt;/li&gt;
&lt;li&gt;They both leverage multi-agent collaboration.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Differences
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Core Focus&lt;/strong&gt;: Agent Cloud is dual-focused. It offers RAG as a Service (single agent conversational chat app) for interacting with your data and also offers process automation using its multi-agent engine. CrewAI’s only focus is process automation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Underlying Technology&lt;/strong&gt;: Agent Cloud uses a modular architecture that is scalable with your organization. The open-source stack like Airbyte and Qdrant that it uses under the hood are well abstracted so you don’t need to manage any of them. CrewAI was built on top of Lanchain making it easy to access pre-trained LLMs thereby reducing your development workload. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use Cases&lt;/strong&gt;: Agent Cloud shines in information processing from multiple data sources and task automation. It therefore has a more diverse use case than CrewAI. The use cases for CrewAI are streamlined to process automation. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Community and Support&lt;/strong&gt;: Agent Cloud currently has a small but growing community compared to CrewAI which benefits from the larger Langchain community and resources.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Choosing Between Agent Cloud and CrewAI: What to Consider
&lt;/h2&gt;

&lt;p&gt;Choosing between Agent Cloud and CrewAI depends largely on your use cases and needs. Unlike CrewAI, the use cases for Agent Cloud are more robust. It combines the collaborative process automation in CrewAI with a built-in RAG as a Service for building private and secure conversational chat apps.&lt;/p&gt;

&lt;p&gt;CrewAI shines in facilitating communication, task delegation, result validation, and resource sharing among agents to achieve an objective. Agent Cloud on the other hand shines for both process automation and RAG app use cases. It can sync to hundreds of data sources to retrieve information and present it through conversational interfaces like chatbots. The ability to reference data from multiple sources mitigates hallucination. &lt;/p&gt;

&lt;p&gt;Ultimately, Agent Cloud is a more robust solution that covers your conversational chat apps and process automation needs.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Tools like Agent Cloud and CrewAI leverage generative artificial intelligence and collaborative intelligence to facilitate natural language interaction with data and automate complex and redundant business processes.&lt;/p&gt;

&lt;p&gt;While both tools share similarities such as LLM compatibility, open-source nature, and emphasis on privacy and security, they differ in their core focus, underlying technology, use cases, and community support. Agent Cloud offers a diverse range of use cases, combining conversational chat apps and process automation. At the same time, CrewAI excels in facilitating communication and collaboration among agents for process automation tasks.&lt;/p&gt;

&lt;p&gt;In conclusion, the choice between Agent Cloud and CrewAI depends on your organization’s specific use cases and needs. However, if you are looking for a robust solution for your RAG and process automation needs, you should consider trying out &lt;a href="https://www.agentcloud.dev" rel="noopener noreferrer"&gt;Agent Cloud&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>opensource</category>
      <category>openai</category>
      <category>rag</category>
    </item>
  </channel>
</rss>
