While Asking my custom GPT to retrieve information from a database it yields different responses depending on how I spell the query - with or without capitals.
It seems like the code generated for the queries is different:
Query A: “Who is yuri”
import pandas as pd
# Load the CSV file containing the list of lab members
members_file = '/mnt/data/members.csv'
# Read the CSV file
members_df = pd.read_csv(members_file)
# Display the data to understand its structure
members_df.head()
Query B: Who is Yuri
# Checking if there's a member named "Yuri" in the list
yuri_info = members_df[members_df['Name'].str.contains("Yuri", case=False)]
yuri_info