The Wayback Machine - https://web.archive.org/web/20241111102235/https://www.geeksforgeeks.org/pandasai-library-from-openai/
Open In App

PandasAI Library from OpenAI

Last Updated : 26 May, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

We spend a lot of time editing, cleaning, and analyzing data using various methodologies in today’s data-driven environment. Pandas is a well-known Python module that aids with data manipulation. It keeps data in structures known as dataframes and enables you to alter, clean up, or analyze data by carrying out various operations like generating a bar graph for the dataframe, adding a new row or column, or replacing some missing data. These duties frequently require a lot of time, which could be spent on other things. We now have PandasAI, a pandas library extension that can aid in more efficient data analysis and manipulation.

What is PandasAI?

Pandas AI is an extension to the pandas library using OpenAI’s generative AI models. It allows you to generate insights from your dataframe using just a text prompt. It works on the text-to-query generative AI developed by OpenAI. Data Scientists and data analysts spend a lot of time preparing the data for analysis. They can now move forward with their data analysis. Pandas AI now makes it possible for data experts to use many of the strategies and procedures they have researched to reduce the time required for data preparation. PandasAI should not be used in place of Pandas; rather, it should be utilized in addition to Pandas. You can pose these queries to PandasAI, and it will provide responses in the form of Pandas DataFrames, saving you the time of having to manually browse and respond to queries about the dataset. With the use of the OpenAI API, Pandas AI aims to achieve the goal of allowing you to virtually converse with a machine that will then provide the desired outcomes rather than having to program the task yourself. The outcome will be generated by the machine as machine-readable code (DataFrame), which is the language they use.

How to use PandasAI?

Step 1: Install pandasai and openai library

!pip install -q pandasai openai

Step 2: Import the necessary libraries

Python3




import pandas as pd
from pandasai import PandasAI
from pandasai.llm.openai import OpenAI


Step 3: Load the Dataset into a dataframe using a dictionary

Python3




dataframe = {
    "country": [
        "Delhi",
        "Mumbai",
        "Kolkata",
        "Chennai",
        "Jaipur",
        "Lucknow",
        "Pune",
        "Bengaluru",
        "Amritsar",
        "Agra",
    ],
    "annual tax collected": [
        19294482072,
        28916155672,
        24112550372,
        34358173362,
        17454337886,
        11812051350,
        16074023894,
        14909678554,
        43807565410,
        146318441864,
    ],
    "happiness_index": [9.94, 7.16, 6.35, 8.07, 6.98, 6.1, 4.23, 8.22, 6.87, 3.36],
}
# reading dataset
df = pd.DataFrame(dataframe)
df.head()


Output:

Screenshot-2023-05-23-173739.png

Note: You can also read data from CSV file using the command pd.read_csv(“file_location”).

Step 4: Initialize an Open AI Large-Language Model (LLM)

Since PandasAI works on OpenAI LLM, we need to store OpenAI API key in the environment using the following code:

Python3




# storing the API Token in Open AI environment
# replace "YOUR_API_KEY" with your generated API key
llm = OpenAI(api_token='YOUR_API_KEY')
#initializing an instance of Pandas AI with openAI environment 
pandas_ai = PandasAI(llm, verbose=True, conversational=False)


If you do not have an OpenAI API key, you can create an account on OpenAI platform and generate a new API key here. Now we are all set to use our Generative model to generate insights or clean data using Pandas AI.

Step 5: Provide a text prompt and dataframe to PandaAI

Python3




# text prompt explaining the operaiton to performed on the dataset
PROMPT="YOUR_TEXT_PROMPT"
# using pandasAI instance to process text prompt and dataset 
response = pandas_ai(df, PROMPT)
# printing the response
print(response)


Automate Pandas operations with pandasai

Now Let’s try some prompts on our custom dataset

Prompt 1: Performing sum operation

Python3




response = pandas_ai(df, "Calculate the total tax collected in north Indian cities")
print(response)


Output:

Running PandasAI with openai LLM...
Code generated:
```
import pandas as pd
# Creating the dataframe
data = {'country': ['Mumbai', 'Jaipur', 'Kolkata', 'Delhi', 'Chennai', 'Lucknow', 'Hyderabad', 'Ahmedabad', 'Bangalore', 'Pune'],
        'annual tax collected': [3274294604, 7159422858, 8155677164, 3688595185, 3679908367, 4567890123, 2345678901, 3456789012, 5678901234, 6789012345],
        'happiness_index': [6.98, 8.07, 8.07, 6.35, 7.16, 7.89, 7.45, 7.12, 8.56, 7.23]}
df = pd.DataFrame(data)
# Filtering north Indian cities
north_cities = ['Jaipur', 'Kolkata', 'Delhi', 'Lucknow', 'Ahmedabad']
north_df = df[df['country'].isin(north_cities)]
# Calculating total tax collected in north Indian cities
total_tax_collected = north_df['annual tax collected'].sum()
print(total_tax_collected)
```
Code running:
```
data = {'country': ['Mumbai', 'Jaipur', 'Kolkata', 'Delhi', 'Chennai',
    'Lucknow', 'Hyderabad', 'Ahmedabad', 'Bangalore', 'Pune'],
    'annual tax collected': [3274294604, 7159422858, 8155677164, 3688595185,
    3679908367, 4567890123, 2345678901, 3456789012, 5678901234, 6789012345],
    'happiness_index': [6.98, 8.07, 8.07, 6.35, 7.16, 7.89, 7.45, 7.12, 
    8.56, 7.23]}
north_cities = ['Jaipur', 'Kolkata', 'Delhi', 'Lucknow', 'Ahmedabad']
north_df = df[df['country'].isin(north_cities)]
total_tax_collected = north_df['annual tax collected'].sum()
print(total_tax_collected)
```
Answer: 72673421680

Prompt 2: Analyzing the dataset

Python3




response = pandas_ai.run(df, prompt='Which are the 5 happiest cities?')
print(response)


Output:

Running PandasAI with openai LLM...
Code generated:
```
import pandas as pd
# Creating the dataframe
data = {'country': ['Kolkata', 'Jaipur', 'Delhi', 'Mumbai', 'Chennai', 'Bangalore', 'Hyderabad', 'Pune', 'Ahmedabad', 'Surat'],
        'annual tax collected': [3560469532, 9597107067, 4821092001, 9053727452, 3738210455, 6489321000, 5183920000, 2874610000, 3958200000, 3129400000],
        'happiness_index': [6.35, 8.07, 7.16, 6.98, 6.98, 7.89, 7.45, 7.12, 6.78, 6.55]}
df = pd.DataFrame(data)
# Sorting the dataframe by happiness index in descending order
df = df.sort_values(by='happiness_index', ascending=False)
# Selecting the top 5 happiest cities
top_5_happiest_cities = df.head(5)['country'].tolist()
print(top_5_happiest_cities)
```
Code running:
```
data = {'country': ['Kolkata', 'Jaipur', 'Delhi', 'Mumbai', 'Chennai',
    'Bangalore', 'Hyderabad', 'Pune', 'Ahmedabad', 'Surat'],
    'annual tax collected': [3560469532, 9597107067, 4821092001, 9053727452,
    3738210455, 6489321000, 5183920000, 2874610000, 3958200000, 3129400000],
    'happiness_index': [6.35, 8.07, 7.16, 6.98, 6.98, 7.89, 7.45, 7.12, 
    6.78, 6.55]}
top_5_happiest_cities = df.head(5)['country'].tolist()
print(top_5_happiest_cities)
```
Answer: ['Delhi', 'Mumbai', 'Kolkata', 'Chennai', 'Jaipur']

Prompt 3: Performing sort operation

Python3




response = pandas_ai.run(df, 
                         prompt='''sort the dataset in ascending order
                          according to happiness index''')
print(response)


Output:

Running PandasAI with openai LLM...
Code generated:
```
df_sorted = df.sort_values(by='happiness_index', ascending=True)
print(df_sorted)
```
Code running:
```
df_sorted = df.sort_values(by='happiness_index', ascending=True)
print(df_sorted)
```
Answer:      country  annual tax collected  happiness_index
9       Agra          146318441864             3.36
6       Pune           16074023894             4.23
5    Lucknow           11812051350             6.10
2    Kolkata           24112550372             6.35
8   Amritsar           43807565410             6.87
4     Jaipur           17454337886             6.98
1     Mumbai           28916155672             7.16
3    Chennai           34358173362             8.07
7  Bengaluru           14909678554             8.22
0      Delhi           19294482072             9.94

Prompt 4: Plotting a histogram

Python3




PROMPT = """
Plot a histogram showing the tax collection of all north indian cities,
 take y axis as tax collected and x axis as indian cities"""
response = pandas_ai.run(df, prompt=PROMPT)
print(response)


Output:

Running PandasAI with openai LLM…

Screenshot-2023-05-23-175049.png

histogram representing tax collected in north indian cities

Code generated: 
``` north_cities = ['Delhi', 'Jaipur'] 
    north_df = df[df['country'].isin(north_cities)] 
    import matplotlib.pyplot as plt plt.bar(north_df['country'], 
                                north_df['annual tax collected']) 
    plt.xlabel('Indian cities') 
    plt.ylabel('Tax collected') 
    plt.title('Tax collection of north Indian cities') 
    plt.show() 
``` Code running: 
         ``` north_cities = ['Delhi', 'Jaipur'] 
             north_df = df[df['country'].isin(north_cities)] 
             plt.bar(north_df['country'], north_df['annual tax collected']) 
             plt.xlabel('Indian cities') 
             plt.ylabel('Tax collected') 
             plt.title('Tax collection of north Indian cities') 
             plt.show() 
``` Answer:

Prompt 5: Performing groupby operation

Python3




PROMPT = "Group the cities in the dataset according to their happiness index"
response = pandas_ai.run(df, prompt=PROMPT)
print(response)


Output:

Running PandasAI with openai LLM...
Code generated:
```
# Import pandas library
import pandas as pd
# Create the dataframe
data = {'country': ['Chennai', 'Delhi', 'Mumbai', 'Kolkata', 'Jaipur', 'Bangalore', 'Hyderabad', 'Pune', 'Ahmedabad', 'Surat'],
        'annual tax collected': [4115278226, 5211175683, 9898166675, 2429903829, 2640456722, 6329812345, 4781234567, 3214567890, 5678901234, 4321987654],
        'happiness_index': [6.98, 6.98, 8.07, 9.94, 7.16, 8.56, 7.89, 6.78, 8.23, 7.45]}
df = pd.DataFrame(data)
# Group the cities by their happiness index
grouped_df = df.groupby('happiness_index')
# Print the groups
for name, group in grouped_df:
    print("Happiness Index:", name)
    print(group)
```
Code running:
```
data = {'country': ['Chennai', 'Delhi', 'Mumbai', 'Kolkata', 'Jaipur',
    'Bangalore', 'Hyderabad', 'Pune', 'Ahmedabad', 'Surat'],
    'annual tax collected': [4115278226, 5211175683, 9898166675, 2429903829,
    2640456722, 6329812345, 4781234567, 3214567890, 5678901234, 4321987654],
    'happiness_index': [6.98, 6.98, 8.07, 9.94, 7.16, 8.56, 7.89, 6.78, 
    8.23, 7.45]}
grouped_df = df.groupby('happiness_index')
for name, group in grouped_df:
    print('Happiness Index:', name)
    print(group)
```
Answer: Happiness Index: 3.36
  country  annual tax collected  happiness_index
9    Agra          146318441864             3.36
Happiness Index: 4.23
  country  annual tax collected  happiness_index
6    Pune           16074023894             4.23
Happiness Index: 6.1
   country  annual tax collected  happiness_index
5  Lucknow           11812051350              6.1
Happiness Index: 6.35
   country  annual tax collected  happiness_index
2  Kolkata           24112550372             6.35
Happiness Index: 6.87
    country  annual tax collected  happiness_index
8  Amritsar           43807565410             6.87
Happiness Index: 6.98
  country  annual tax collected  happiness_index
4  Jaipur           17454337886             6.98
Happiness Index: 7.16
  country  annual tax collected  happiness_index
1  Mumbai           28916155672             7.16
Happiness Index: 8.07
   country  annual tax collected  happiness_index
3  Chennai           34358173362             8.07
Happiness Index: 8.22
     country  annual tax collected  happiness_index
7  Bengaluru           14909678554             8.22
Happiness Index: 9.94

Prompt 6: Describe the dataset

Python3




PROMPT = "Give statistical information about dataset"
response = pandas_ai.run(df, prompt=PROMPT)
print(response)


Output:

Running PandasAI with openai LLM...
Code generated:
```
import pandas as pd
# create the dataframe
data = {'country': ['Delhi', 'Chennai', 'Kolkata', 'Mumbai', 'Jaipur'],
        'annual tax collected': [6851245018, 5569913156, 497203726, 1780282822, 856852833],
        'happiness_index': [6.98, 6.35, 6.35, 6.98, 7.16]}
df = pd.DataFrame(data)
# describe the dataframe
print(df.describe())
```
Code running:
```
data = {'country': ['Delhi', 'Chennai', 'Kolkata', 'Mumbai', 'Jaipur'],
    'annual tax collected': [6851245018, 5569913156, 497203726, 1780282822,
    856852833], 'happiness_index': [6.98, 6.35, 6.35, 6.98, 7.16]}
print(df.describe())
```
Answer:        annual tax collected  happiness_index
count          1.000000e+01        10.000000
mean           3.570575e+10         6.728000
std            4.010314e+10         1.907149
min            1.181205e+10         3.360000
25%            1.641910e+10         6.162500
50%            2.170352e+10         6.925000
75%            3.299767e+10         7.842500
max            1.463184e+11         9.940000

Prompt 7: Check for missing values

Python3




PROMPT = "Are there any missing values in the dataset"
response = pandas_ai.run(df, prompt=PROMPT)
print(response)


Output:

Running PandasAI with openai LLM...
Code generated:
```
import pandas as pd
# Creating the dataframe
data = {'country': ['Jaipur', 'Delhi', 'Mumbai', 'Chennai', 'Kolkata'],
        'annual tax collected': [8203131465, 406012666, 6195812866, 8532100009, 2405598967],
        'happiness_index': [8.07, 6.98, 6.98, 7.16, 6.35]}
df = pd.DataFrame(data)
# Checking for missing values
print(df.isnull().values.any())
```
Code running:
```
data = {'country': ['Jaipur', 'Delhi', 'Mumbai', 'Chennai', 'Kolkata'],
    'annual tax collected': [8203131465, 406012666, 6195812866, 8532100009,
    2405598967], 'happiness_index': [8.07, 6.98, 6.98, 7.16, 6.35]}
print(df.isnull().values.any())
```
Answer: False

To learn more about Chat GPT, you can refer to:

Frequently Asked Questions (FAQs)

1. What is Pandas?

Pandas is a robust Python framework for handling and analysing data. It offers data structures and operations to manage structured data effectively, including tabular or time series data.

2. How is PandasAI different from Pandas?

In Pandas, you have to perform operations on dataset by typing many lines of code which can be quite time consuming. PandasAI makes this task easier by performing operations on datasets from simple text prompts. It leverages the power of OpenAI LLMs and generates code to perform specified operations on provided datasets.

3. Is Pandas AI suitable for big data analysis?

While PandasAI comes in handy to perform many tasks by simply using a text prompt. It still cannot be used for big data analysis as it still uses dataframe as it’s data structure which has a large overhead causing RAM issues for big data.

4. Where can I find resources to learn PandasAI?

You can refer to the official github repository at https://github.com/gventuri/pandas-ai.

Conclusion

In this article, we looked at PandasAI’s advantages as a useful addition for pandas library users. PandasAI has several amazing capabilities, such as running language prompts that resemble SQL searches and producing visualizations directly from a DataFrame. It without a doubt increases productivity by automating several processes. It’s crucial to remember that even if PandasAI is a strong tool, the Pandas library still needs to be used. The pandas library’s capabilities are still necessary for some sophisticated operations, such as adding missing data to a DataFrame. Pandas’ extensive ecosystem and wide range of features continue to be crucial for managing challenging data manipulation and analysis tasks. Consequently, PandasAI is a useful addition that enhances the functionality of the pandas library and further augments the efficiency and convenience of working with data in Python.



Previous Article
Next Article

Similar Reads

Sam Altman fired as CEO by OpenAI board - Who is the New CEO of OpenAI?
In a surprising turn of events, OpenAI, the creator of ChatGPT, made a major announcement on Friday regarding significant shifts in its leadership structure. The company revealed a notable shakeup in its top positions, removing Co-founder and current CEO, Sam Altman, from his role. The board's decision also led to the repositioning of the current C
6 min read
NLP Primitives Library: A Powerful Python Library for Natural Language Processing
Natural Language Processing (NLP) is a rapidly evolving field, pivotal in applications like sentiment analysis, chatbots, machine translation, and more. However, building robust NLP models often requires intricate text preprocessing and feature engineering. Enter the NLP Primitives Library—a powerful Python library designed to simplify and accelera
7 min read
Create a ChatBot with OpenAI and Gradio in Python
Computer programs known as chatbots may mimic human users in communication. They are frequently employed in customer service settings where they may assist clients by responding to their inquiries. The usage of chatbots for entertainment, such as gameplay or storytelling, is also possible. OpenAI ChatGPT has developed a large model called GPT(Gener
3 min read
Level up your ChatGPT Game with OpenAI's Free Course on Prompt Engineering for Developers
Want to learn Prompt Engineering? OpenAI made it possible for you! The parent company of ChatGPT launched a free ChatGPT course on prompt engineering for developers. An interesting new course on prompt engineering called "ChatGPT Prompt Engineering for Developers" has been curated by renowned artificial intelligence (AI) experts Andrew Ng from Deep
3 min read
Text Manipulation using OpenAI
Open AI is a leading organization in the field of Artificial Intelligence and Machine Learning, they have provided the developers with state-of-the-art innovations like ChatGPT, WhisperAI, DALL-E, and many more to work on the vast unstructured data available. For text manipulation, OpenAI has compiled a Completions model which helps you to generate
11 min read
What are ChatGPT's Future Plans? Revealed By OpenAI's Sam Altman
An attendee from a recently held private meeting, in a blog post, disclosed some confidential information shared by OpenAI’s Sam Altman regarding ChatGPT's future plans during the meeting. Sam Altman has been attending conferences and meetings ever since OpenAI launched its AI chatbot ChatGPT last year. The CEO of OpenAI, in a recent meeting held i
3 min read
Create a ChatBot with OpenAI and Streamlit in Python
ChatGPT is an advanced chatbot built on the powerful GPT-3.5 language model developed by OpenAI.There are numerous Python Modules and today we will be discussing Streamlit and OpenAI Python API to create a chatbot in Python streamlit. The user can input his/her query to the chatbot and it will send the response. Required Modules pip install openaip
5 min read
OpenAI Whisper - Converting Speech to Text
In the digital era, the demand for precise and efficient transcription of audio content is everywhere, spanning across professions and purposes. Whether you're creating subtitles, conducting research, or pursuing various other tasks, the conversion of audio and video to text is a common requirement. While numerous modules exist for this purpose, th
6 min read
OpenAI announces DALL-E 3 API, Audio API, and Whisper large-v3
OpenAI, a pioneer in artificial intelligence research, recently hosted its first developer day and unveiled a range of new APIs. These cutting-edge tools are set to revolutionize the way we interact with technology. In this article, we will delve into the details of OpenAI's latest offerings, including DALL-E 3, the text-to-speech Audio API, and th
3 min read
Develop an LLM Application using Openai
Language Models (LMs) play a crucial role in natural language processing applications, enabling the development of tools that generate human-like text. OpenAI's Generative Pre-Trained Transformer (GPT) models, such as GPT-3.5-turbo, are widely used in this domain. They excel in understanding context, learning language patterns, and generating coher
5 min read
OpenAI’s GPT Store Launched! How to Use and Make Money
OpenAI, a leading player in the field of artificial intelligence, has launched its much-anticipated GPT Store. This innovative platform allows users to find useful and popular custom versions of ChatGPT, the company’s flagship chatbot product. ChatGPT is powered by GPTs, which are specialized language models that can be created and customized by an
7 min read
OpenAI’s Sam Altman’s Most Used App
In the world of artificial intelligence, few names are as prominent as Sam Altman, the CEO of OpenAI. Known for his leadership in one of the most innovative AI companies in the world, Altman is a figure who constantly pushes the boundaries of technology. However, a recent revelation about his most used app has left many surprised. During a conversa
2 min read
OpenAI Codex vs. GitHub Copilot: Which AI Assists Programmers More Effectively?
What if developing a game was as easy as writing a command like "bounce an object" in plain English? You could manipulate digital objects in any way you wanted, without any programming knowledge whatsoever. Thanks to text-to-code models like OpenAI Codex, this dream isn't that far away anymore. As OpenAI has already demonstrated, non-technical user
6 min read
OpenAI Whisper
In today's time, data is available in many forms, like tables, images, text, audio, or video. We use this data to gain insights and make predictions for certain events using various machine learning and deep learning techniques. There are many techniques that help us work on tables, images, texts, and videos, but there are not a lot of techniques t
9 min read
OpenAI To Launch AI Tool Sora For Public Use In 2024
OpenAI, a leading force in Artificial Intelligence research, has announced the public release of Sora in 2024. Sora is an AI video generation tool, on the concept of text-to-video AI. Imagine describing a scene with words, and Sora, this AI video tool, brings it to life! This game-changer can potentially transform various industries, from filmmakin
6 min read
Spam Classification using OpenAI
The majority of people in today's society own a mobile phone, and they all frequently get communications (SMS/email) on their phones. But the key point is that some of the messages you get may be spam, with very few being genuine or important interactions. You may be tricked into providing your personal information, such as your password, account n
6 min read
OpenAI GPT-5: Next Generation AI Model Arriving This Summer
Get ready for a new era of artificial intelligence. OpenAI, the research company known for its groundbreaking language models, is gearing up to launch GPT-5, the next iteration of its popular Generative Pre-trained Transformer series. Here's a deep dive into what we know so far about GPT-5, its potential applications, and what to expect from this p
6 min read
OpenAI Introduces Voice Cloning AI: Only Needs a 15-second Sample To Work
The world of artificial intelligence (AI) has taken a step forward with OpenAI's introduction of Voice Engine. This new tool can generate realistic and customized voices based on just a 15-second audio sample. Let's get into the workings of Voice Engine, explore its potential applications, and address the ethical considerations surrounding this pow
4 min read
OpenAI And Microsoft Plan $100 Billion AI "Stargate"
The world of artificial intelligence is about to take a big step forward. Microsoft and OpenAI, a leading research lab, have joined forces to develop "Stargate," a supercomputer unlike any other. With a projected price tag of $100 billion, Stargate is a notable investment in the future of AI and its potential to turn up various aspects of our lives
6 min read
OpenAI Introduces DALL-E Editor Interface
The world of AI art creation took a massive step forward with the introduction of OpenAI's DALL-E. This tool allows users to generate stunning and realistic images from simple text descriptions. Now, OpenAI is pushing the boundaries even further with the introduction of a new feature: DALL-E image editing. This article looks into the world of AI-ge
7 min read
AI Revolution in Video Editing: Adobe’s Premiere Pro and OpenAI Partnership
The world of video editing is on the cusp of a revolution. Adobe, the industry leader with its widely-used Premiere Pro software, is exploring a partnership with OpenAI, a cutting-edge research lab specializing in artificial intelligence (AI). This collaboration has the potential to transform Premiere Pro by introducing powerful AI-powered video ed
6 min read
OpenAI ChatGPT 5 Launch: Release date, Upgrades, Pricing and Everything Else
The world of Artificial Intelligence is abuzz with anticipation for the upcoming launch of OpenAI's ChatGPT 5. This next-generation language model promises to be a big step forward, pushing the boundaries of human-machine interaction and artificial intelligence capabilities. While the exact ChatGPT 5 release date remains unconfirmed, rumours and sp
6 min read
OpenAI Launches GPT-4o Omni
OpenAI has announced its latest innovation, "GPT 4o Omni," a free and significantly faster version of its predecessor, GPT 4. This advanced language model builds on the success of GPT 4 including the ability to understand and respond to information across multiple modalities—text, speech, and images. This "omnimodal" capability means a substantial
4 min read
UAE Releases New Falcon AI Model to Challenge Meta, OpenAI
The United Arab Emirates (UAE) has made a bold statement in the Artificial Intelligence (AI) race with the release of its latest Large Language Model (LLM), Falcon 2 developed by the Abu Dhabi Technology Innovation Institute (TII), Falcon 2 positions itself as a serious Meta AI and OpenAI competitors, boasting advanced capabilities and open-source
5 min read
Generate Images With OpenAI in Python
We are currently living in the age of AI. Images to automate processes including image generation for logos, advertisements, stock images, etc. So here we will use OpenAI to generate Images with Python [ChatGPT API]. There are numerous uses of the DALL - E model and today we will be discussing how one can use its Python ChatGPT API [OpenAI API] to
8 min read
What is OpenAI SearchGPT? How it works and How to Get it?
OpenAI, the company behind the popular ChatGPT AI assistant, has announced the launch of its own search engine called SearchGPT. This highly anticipated move positions OpenAI as a potential rival to established search giants like Google and Bing. OpenAI SearchGPT is a cutting-edge search engine optimization (SEO) tool powered by artificial intellig
8 min read
OpenAI tests ChatGPT widget for Android Home Screen - Check how to Use it
OpenAI has introduced a game-changing widget for its widely-used chatbot, ChatGPT, specifically designed for Android smartphones. This innovative feature empowers users to interact with ChatGPT directly from their home screens, eliminating the need to launch the app itself. This signifies a significant step forward in user experience and accessibil
5 min read
How to Install OpenAI in Kaggle
Kaggle, a popular platform for data science and machine learning, offers an efficient environment to work on various machine learning projects. Integrating OpenAI's API in Kaggle can help you leverage its powerful language models like GPT-3, GPT-4, and more to perform tasks such as text generation, summarization, and natural language processing. Th
5 min read
Google Gemini AI vs OpenAI ChatGPT: Everything to Know About It
The field of AI has seen surprising breakthroughs in recent years, with the advancement of strong generative models that can compose text, pictures, and different kinds of content based on natural language inputs. Two of the most prominent instances of such models are Google Gemini and OpenAI ChatGPT, which compete for the title of the most develop
8 min read
Vertex AI vs OpenAI
As artificial intelligence continues to evolve, various platforms have emerged to provide powerful tools for developers, researchers, and businesses. Two notable contenders in the AI landscape are Google’s Vertex AI and OpenAI’s suite of products, including the well-known ChatGPT. This article aims to compare and contrast these two platforms, highl
3 min read
three90RightbarBannerImg