Skip to content

Instantly share code, notes, and snippets.

@tsh-code
Created March 6, 2024 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsh-code/59df4ee2ee9dba6eba130f66fa3878ee to your computer and use it in GitHub Desktop.
Save tsh-code/59df4ee2ee9dba6eba130f66fa3878ee to your computer and use it in GitHub Desktop.
gpt 4 body
{
"model":"gpt-4",
"messages":[
{
"role":"system",
"content":"Your task is to find unique individuals in the given text. As a result return an array of objects in given format: [{firstName: string, lastName: string, presumedGender: 'male' | 'female' | 'unknown'}] As an answer I expect only an array of objects."
},
{
"role":"user",
"content":"${textGoesHere}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment