Hello.
So, when I'm at chat.openai.com/chat running "Default (GPT-3.5)" and I ask these two questions:
who were all the members of the Beatles?
The Beatles were made up of four members:
John Lennon (guitar, vocals)
Paul McCartney (bass guitar, vocals)
George Harrison (lead guitar, vocals)
Ringo Starr (drums, vocals)
How would you put all of the names into a javascript array?
You can create an array of the Beatles' names like this:
const beatles = ['John Lennon', 'Paul McCartney', 'George Harrison', 'Ringo Starr'];
This creates an array called beatles with four string elements representing the names of each of the four members of the Beatles.
Then when I ask the same questions when interfacing with the API, but GPT-3.5-turbo, temp:0.5
Who were all the members of the Beatles?
The Beatles were composed of four members:
1. John Lennon (1940–1980): Lead and rhythm guitar, keyboards, harmonica, and vocals
2. Paul McCartney (born 1942): Bass guitar, keyboards, guitar, drums, and vocals
3. George Harrison (1943–2001): Lead and rhythm guitar, sitar, keyboards, and vocals
4. Ringo Starr (born 1940): Drums, percussion, and vocals
So far so good
How would you put all of the names into a javascript array?
As an AI language model, I do not have access to the specific names that you are referring to. Generally speaking, to put a list of names into a JavaScript array you can use the following syntax:
var namesArray = ["name1", "name2", "name3"];
Replace "name1", "name2", and "name3" with the actual names you want in your array. The names should be enclosed in double quotes and separated by commas. You can then reference individual names by their index, such as `namesArray[0]` for the first name in the array.
=========
Why is the API "dummer" in that it can't infer from question to question like the openai website can?
I tried to ask the website what the 'temperature` value was, and It could give me the definition but not the value