Nvidia Unveils Futuristic Gaming Experience at Computex 2023
News

Nvidia Unveils Futuristic Gaming Experience at Computex 2023, Blending Gaming and AI

by Isabel
May 29, 2023
0

At Computex 2023, Nvidia displays a futuristic gaming experience that...

Read more
Adobe Introduces Powerful Generative AI Tools in Photoshop

Adobe Introduces Powerful Generative AI Tools in Photoshop Beta

May 29, 2023
Adobe Photoshop's Generative Fill Feature

Exploring the Power of Adobe Photoshop’s Generative Fill Feature

May 27, 2023
NVIDIA and Microsoft Partner to Accelerate AI

NVIDIA and Microsoft Partner to Accelerate AI

May 25, 2023
google photos security and privacy

Exploring the Top 5 Privacy and Security Risks of using Google Photos

May 24, 2023
How-to-install-MLC-LLM

How to install MLC LLM

May 2, 2023
AutoGPT and ChatGPT

AutoGPT and ChatGPT: Discovering the World of AI Language Models

May 4, 2023
How Bard Is Different from ChatGPT

How Bard Is Different from ChatGPT

May 18, 2023
Google Bard

Google Bard now open to 180 countries with new features

May 11, 2023
Prompt Engineering

Prompt Engineering: Key Concepts & Use Cases

May 8, 2023
Qdrant Vector Search Engine

Qdrant: Boost Your Search Capabilities with Efficient Vector Search

May 9, 2023
Cloudbooklet
  • News
  • Artificial Intelligence
  • Linux
  • Google Cloud
  • AWS
No Result
View All Result
Cloudbooklet
  • News
  • Artificial Intelligence
  • Linux
  • Google Cloud
  • AWS
No Result
View All Result
Cloudbooklet
No Result
View All Result
Home Artificial Intelligence

ChatGPT + Enterprise Data: The Next Generation of AI-Powered Customer Service

by Isabel
May 26, 2023
in Artificial Intelligence
Reading Time: 9 mins read
ChatGPT+Enterprise-data-with-Azure-OpenAI
Share on FacebookShare on TwitterShare on WhatsAppShare on Telegram

ChatGPT is an OpenAI large language model that may be used for generating text, translate languages, compose various types of creative material, and provide helpful answers to your questions. ChatGPT may be used to build a range of AI-powered customer service apps when combined with enterprise data.

Table of Contents

  1. ChatGPT + Enterprise data with Azure OpenAI and Cognitive Search
  2. Features
  3. Azure Resource Costs and Configuration
  4. Prerequisites for Local Deployment
  5. Installation and Project Initialization
  6. Using Existing Resources:
  7. Sharing Environments:
  8. Getting Started with the Application:

ChatGPT + Enterprise data with Azure OpenAI and Cognitive Search

This sample shows how to use the Retrieval Augmented Generation pattern to create ChatGPT-like experiences over your own data. It makes use of Azure OpenAI Service to connect to the ChatGPT model (gpt-35-turbo) and Azure Cognitive Search to index and retrieve data.

You might also like

ChatGPT app

The Easiest Way to Download ChatGPT App Free

May 31, 2023
LLM Connected with APIs

Gorilla: LLM Connected with APIs

May 31, 2023

The repo includes example data, so you may try it from beginning to end. We utilize a fictitious company named Contoso Electronics in our sample application, and the experience allows its workers to ask questions regarding benefits, internal policies, and job descriptions and positions.

ChatGPT

Features

  • Interactions for chat and Q&A
  • Investigates several possibilities for assisting users in determining the credibility of replies through citations, source material monitoring, and so on.
  • Shows methodologies for data preparation, quick creation, and orchestration of model (ChatGPT) and retriever (Cognitive Search) interaction.
  • To adjust the functionality and experiment with options, use the settings directly in the UX.
ChatGPT

Azure Resource Costs and Configuration

IMPORTANT: In order to deploy and run this example, you must have an Azure subscription with Azure OpenAI service access enabled. You can request access by clicking here. You may also obtain some free Azure credits here to get started.

COSTS OF AZURE RESOURCES By default, this example will establish Azure App Service and Azure Cognitive Search resources with monthly costs, as well as Form Recognizer resources with per-document-page costs. You can avoid this cost by changing the parameters file in the infra folder (though there are some limitations to consider; for example, you can only have one free Cognitive Search resource per subscription, and the free Form Recognizer resource only analyzes the first two pages of each document).

Prerequisites for Local Deployment

To run the project locally, you will need the following prerequisites:

  1. Azure Developer CLI
  2. Python 3+
    • Important: Python and the pip package manager must be in the PATH environment variable in Windows for the setup scripts to work.
    • Important: Ensure you can run python --version from the console. On Ubuntu, you might need to run sudo apt install python-is-python3 to link python to python3.
  3. Node.js
  4. Git
  5. PowerShell 7+ (pwsh) – For Windows users only.
    • Important: Ensure you can run pwsh.exe from a PowerShell command. If this fails, you likely need to upgrade PowerShell.

Note: Your Azure account must have Microsoft.Authorization/roleAssignments/write permissions, such as User Access Administrator or Owner.

Installation and Project Initialization

  1. Create a new folder and switch to it in the terminal.
  2. Run the command azd auth login to authenticate with your Azure account.
  3. Run the command azd init -t azure-search-openai-demo to initialize the project using the provided template.
    • For the target location, the regions currently supporting the models used in this sample are East US or South-Central US. You can check for an up-to-date list of regions and models here.
  4. Starting from scratch:
    • If you don’t have any pre-existing Azure services and want to start from a fresh deployment, execute the following command:
      • Run azd up – This will provision Azure resources and deploy the sample application to those resources, including building the search index based on the files found in the ./data folder.
  5. After the application has been successfully deployed, you will see a URL printed to the console. Click on that URL to interact with the application in your browser.
deploying services

Note: It may take a minute for the application to be fully deployed. If you see a “Python Developer” welcome screen, wait a minute and refresh the page.

Using Existing Resources:

If you want to use existing resources instead of creating new ones, follow these steps:

  1. To change the name of an existing OpenAI service, use the command azd env set AZURE_OPENAI_SERVICE {Name of existing OpenAI service}.
  2. To set the name of the existing resource group where the OpenAI service is provisioned, use the command azd env set AZURE_OPENAI_RESOURCE_GROUP {Name of existing resource group}
  3. If your ChatGPT deployment is not the default ‘chat,’ use the command azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT {Name of existing ChatGPT deployment}.
  4. If your GPT deployment is not the default ‘davinci,’ use the command azd env set AZURE_OPENAI_GPT_DEPLOYMENT {Name of existing GPT deployment}
  5. Run the command azd up to deploy or re-deploy the repository’s local clone utilizing the existing resources.

Note: If you want to use existing Search and Storage Accounts, refer to the ./infra/main.parameters.json file for a list of environment variables to pass to azd env set in order to configure those existing resources.

Running Locally:

To run the project locally, follow these steps:

  1. Run the command azd login to authenticate with your Azure account.
  2. Change the directory to the app folder.
  3. Run ./start.ps1 or ./start.sh or use the “VS Code Task: Start App” command to start the project locally.

Sharing Environments:

If you want to share a completely deployed and existing environment with someone else, follow these steps:

  1. They must install the Azure CLI on their computer.
  2. To start the project on their system, use azd init -t azure-search-openai-demo
  3. Use the command azd env refresh -e {environment name} to refresh the environment. To run this command, they will need the azd environment name, subscription Id, and location. These values are contained in the./azure/{env name}/.env file. This script will populate the.env file in their azd environment with the settings required to execute the app locally.
  4. Execute pwsh ./scripts/roles.ps1. This will provide the user all of the required roles, allowing them to operate the app locally. You may need to execute this script for them if they do not have the appropriate rights to establish roles in the subscription. Set the AZURE_PRINCIPAL_ID environment variable in the azd.env file or in the current shell to their Azure ID, which they may acquire by running az account show.

Getting Started with the Application:

To get started with the application:

In Azure:

  1. Navigate to the Azure WebApp that azd has deployed. You may discover the URL written out after azd finishes (as “Endpoint”) or on the Azure portal.

Running locally:

  1. Navigate to 127.0.0.1:5000 in your web browser.

Once you’re in the web app:

  1. Experiment with different themes in the conversation or Q&A setting. Experiment with follow-up questions, clarification requests, and requests to simplify or expound on replies in chat.
  2. Investigate the citations and sources for the generated replies.
  3. Click “settings” to experiment with different choices, customize prompts, and discover new features.

Also Read: How to Upload a Document to ChatGPT

This article is to help you learn the ChatGPT + Enterprise Data. We trust that it has been helpful to you. Please feel free to share your thoughts and feedback in the comment section below.

Share2Tweet2SendShare
Isabel

Isabel

Help us grow and support our blog! Your contribution can make a real difference in providing valuable content to our readers. Join us in our journey by supporting our blog today!
Buy me a Coffee

Related Posts

Soundstorm-Pytorch

Soundstorm-Pytorch: A Powerful Tool for Audio Generation

May 30, 2023
Midjourney vs Adobe Firefly

Midjourney vs Adobe Firefly: A Comparison of Two AI Image Generation Tools

May 30, 2023
ChatGPT

How to Use ChatGPT Code Interpreter

May 31, 2023
Leonardo AI Login

How to login and use Leonardo AI to generate high-quality image

May 30, 2023

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

  • Trending
  • Comments
  • Latest
DragGAN The AI-Powered Image Editing Tool

DragGAN: The AI-Powered Image Editing Tool That Makes Editing Images Easy

May 30, 2023
DragGAN AI editing Tool Install and Use DragGAN Photo Editor

DragGAN AI editing Tool Install and Use DragGAN Photo Editor

May 27, 2023
Bard API key

Everything You Need to Know About Google’s Bard API Key

May 20, 2023
Install PHP 8.1 on Ubuntu

How to Install or Upgrade PHP 8.1 on Ubuntu 20.04

May 17, 2023
DragGAN The AI-Powered Image Editing Tool

DragGAN: The AI-Powered Image Editing Tool That Makes Editing Images Easy

75
Upgrade PHP version to PHP 7.4 on Ubuntu

Upgrade PHP version to PHP 7.4 on Ubuntu

28
Install Odoo 13 on Ubuntu 18.04 with Nginx - Google Cloud

Install Odoo 13 on Ubuntu 18.04 with Nginx – Google Cloud

25
Best Performance WordPress with Google Cloud CDN and Load Balancing

Best Performance WordPress with Google Cloud CDN and Load Balancing

23
How to Setup SSH Keys on Ubuntu

How to Setup SSH Keys on Ubuntu 20.04

May 31, 2023
ChatGPT app

The Easiest Way to Download ChatGPT App Free

May 31, 2023
LLM Connected with APIs

Gorilla: LLM Connected with APIs

May 31, 2023
Soundstorm-Pytorch

Soundstorm-Pytorch: A Powerful Tool for Audio Generation

May 30, 2023

Popular Articles

  • DragGAN The AI-Powered Image Editing Tool

    DragGAN: The AI-Powered Image Editing Tool That Makes Editing Images Easy

    1436 shares
    Share 574 Tweet 359
  • DragGAN AI editing Tool Install and Use DragGAN Photo Editor

    333 shares
    Share 133 Tweet 83
  • Auto-Photoshop-Stable Diffusion-Plugin: A New Way to Create AI-Generated Images in Photoshop

    70 shares
    Share 28 Tweet 18
  • InternGPT: A New Way to Interact with ChatGPT

    54 shares
    Share 22 Tweet 14
  • Midjourney vs Adobe Firefly: A Comparison of Two AI Image Generation Tools

    10 shares
    Share 4 Tweet 3
Cloudbooklet

Welcome to our technology blog, where we explore the latest advancements in the field of artificial intelligence (AI) and how they are revolutionizing cloud computing. In this blog, we dive into the powerful capabilities of cloud platforms like Google Cloud Platform (GCP), Amazon Web Services (AWS), and Microsoft Azure, and how they are accelerating the adoption and deployment of AI solutions across various industries. Join us on this exciting journey as we explore the endless possibilities of AI and cloud computing.

  • About
  • Contact
  • Disclaimer
  • Privacy Policy

Cloudbooklet © 2023 All rights reserved.

No Result
View All Result
  • News
  • Artificial Intelligence
  • Linux
  • Google Cloud
  • AWS

Cloudbooklet © 2023 All rights reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.