I tried using 'ProfileGPT' which performs ultra-detailed personality diagnosis from the usage history of ChatGPT & visualizes personal information grasped by ChatGPT Review



ChatGPT is attracting attention as an ultra-high-performance chat AI and is used by many users. ' ProfileGPT ' is an application that analyzes the usage history of ChatGPT and conducts a personality diagnosis. In addition to personality diagnosis, ProfileGPT seemed to be useful for knowing how much personal information was passed to ChatGPT, so I actually installed it and used it.

GitHub - sahbic/profile-gpt

https://github.com/sahbic/profile-gpt

·table of contents
◆1: Install ProfileGPT
◆2: Get OpenAI API key
◆3: Launch ProfileGPT
◆ 4: Prepare ChatGPT history data
◆ 5: Personality diagnosis with ProfileGPT

◆ 1: Install ProfileGPT
To use ProfileGPT, you need to have Python installed on your PC. If Python is not installed, please install Python by referring to '3-1: Installing Python' in the article below.

Image generation AI ``Stable Diffusion'' works even with 4 GB GPU & various functions such as learning your own pattern can be easily operated on Google Colabo or Windows Definitive edition ``Stable Diffusion web UI (AUTOMATIC 1111 version)'' installation method summary - GIGAZINE



◆ 1: Install ProfileGPT
To install ProfileGPT, first access the following link.

GitHub - sahbic/profile-gpt
https://github.com/sahbic/profile-gpt

Then click 'Code' and then 'Download ZIP' to download the necessary files.



After downloading a ZIP file like the one below, decompress it using Windows standard functions or compatible software.



After unzipping, browse the contents of the 'profile-gpt-master' folder.



After opening the folder, enter 'cmd' in the address bar and press Enter.



A black screen like the one below will open.



When the black screen opens, run the following command.
[code]pip install -r requirements.txt[/code]



An image showing how to execute the command looks like this. Enter 'pip install -r requirements.txt' and press Enter.



The installation of ProfileGPT is complete when the characters flow smoothly and the folder name is displayed at the bottom. The black screen is still in use, so don't close it, just keep it open.



◆ 2: Get OpenAI API key
After installing ProfileGPT, get an API key for OpenAI and register it. First, rename '.env.example' in the 'profile-gpt-master' folder to '.env'.



After renaming the file to '.env', open it with a text editor such as Notepad.



The first line of '.env' says 'OPENAI_API_KEY=your-openai-api-key', so enter your API key in 'your-openai-api-key'.



To get the OpenAI API key, first access the link below.

OpenAI user page

https://platform.openai.com/

When the OpenAI login screen is displayed, enter your email address and click 'Continue'.



Then enter the password and click 'Continue'.



When the user screen is displayed, click 'Personal' at the top right of the screen and then click 'View API keys'.



When the API key management screen is displayed, click 'Create new secret key'.



When the new API creation screen is displayed, enter an arbitrary name and click 'Create secret key'.



Copy the new API published.



Replace “your-openai-api-key” in “.env” with the copied API key and overwrite and save. After overwriting and saving, '.env' is closed and OK.



◆ 3: Start ProfileGPT
After registering the API key, return to the black screen and execute the following command.
[code]streamlit run dashboard.py[/code]



It looks like this in the image. Just type 'streamlit run dashboard.py' and hit enter.



After waiting for a while, you will be asked to enter the e-mail address for distributing the latest information, but since the latest information is unnecessary this time, I pressed the Enter key without entering anything.



When you press the Enter key, the browser will start and the following page will start. If you load ChatGPT history data on this page, you can do a personality test.



◆ 4: Prepare ChatGPT history data
To get ChatGPT historical data, first visit ChatGPT by clicking the link below.

ChatGPT | OpenAI

https://chat.openai.com/

After accessing ChatGPT, click the menu button at the bottom left of the screen and click 'Settings'.



Then click 'Export data'.



When the confirmation screen is displayed, click 'Confirm export'.



When you see the green notification, check the inbox of the email address you use for your OpenAI account.



Since the following mail has arrived in the inbox, click 'Download data export'.



Then you can download a ZIP file containing ChatGPT history data.



◆ 5: Personality diagnosis with ProfileGPT
Drag and drop the downloaded ChatGPT history data to the part marked 'Drag and dorp file here' at the bottom left of the ProfileGPT screen.



When the file name is displayed at the bottom left of the screen, click 'Start Analysis'.



After waiting for a while, the diagnosis result will be displayed. If you get an error, wait a while and click 'Start Analysis' again and it should work.



The view of the diagnosis result is as follows. In the 'User Profie' column, the user's personality, hobby, political position, etc. read from ChatGPT's history are displayed. In my case, it was displayed as 'interested in technology and programming'. On the other hand, I didn't enter much political content in ChatGPT, so my political position was displayed as 'insufficient information'.



In the 'Future Predictions' column, future predictions about careers and human relationships are written. This time, he was diagnosed as ``The attitude of trying to explore diverse themes will bring success and happiness.'' yay.



In the 'User Data' column, personal information such as the user's name, place of residence, occupation, gender, age, and SNS account obtained from the history is displayed. This time, 'I live in Japan' and 'I don't know a clear occupation, but I seem to be interested in technology' were displayed. Depending on the person, personal information may be displayed in this column.



If you scroll down, you will see the results of

the MBTI that diagnoses which of the 16 types of personality . This time I was diagnosed as an INTP (planner).



If you scroll further down, you will see the personality test results based on

the Big Five . This time, he was diagnosed as ``Putting more emphasis on his own values than on the social aspects of life''.



As mentioned above, ProfileGPT shows a very detailed personality diagnosis result, but it is a diagnosis result based on the usage history of ChatGPT, and it does not reflect all the usual behaviors, so be careful. is.

in Review,   Web Application, Posted by log1o_hf