Row 4391

Row ID: 4391 | Dataset Entry | Axioma AXP Content Repository

Content Data

This page contains data entry 4391 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.

Here is my current code, but I want to use gpt-3.5-turbo-0125 instead of `davinci-002.`

`elif analysis_type == "openai":` `response = openai.Completion.create(` `engine="davinci-002", # Choose appropriate GPT model` `prompt=prompt,` `max_tokens=50 # Adjust as needed` `)` `return response.choices[0].text.strip()`

But, I am receiving this error message when I change the engine to gpt-3.5-turbo-0125.

​

An unexpected error occurred: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?

​

​

FieldValue
text Here is my current code, but I want to use gpt-3.5-turbo-0125 instead of `davinci-002.` `elif analysis_type == "openai":` `response = openai.Completion.create(` `engine="davinci-002", # Choose appropriate GPT model` `prompt=prompt,` `max_tokens=50 # Adjust as needed` `)` `return response.choices[0].text.strip()` But, I am receiving this error message when I change the engine to gpt-3.5-turbo-0125. ​ An unexpected error occurred: This is a chat model and not supporte…
label r/gpt4
dataType post
communityName r/GPT4
datetime 2024-04-10
username_encoded Z0FBQUFBQm5LakwxcXlLRXFpM2lybmZJLW91UTNWVjVnLVcwN29uWDlRR2JBeTNvTVdjRENBVGZzeWwxblA3b0Fwb2lzUVVaWmdjZ3pZS2pNcDJiaXZ2UzhZRnR0WnVKTVE9PQ==
url_encoded Z0FBQUFBQm5Lak9GN2RxM2NZTnNYSV82b3V6U3UtOW41NC0wanlHVmFFTEpqZTN2SmU0QXBXTmZmTDFMTHB2S0tjMVMtT3kxVEV2bjktMHUtNHdBVHJwZEVDMVo2NWVzYjZqQVYzMW5GMHZUUlpHcTdWTG9VRWFOcHE3YTdxWGJWbnZyeE5LendYU0ZSbEdDSFRCaHFNOWZ2Y0ZJcjdvdjBnbnc0Qy1OMlNlZ19SYm1vOVNGT05uaDVSSFhWV1BUMjlQQktNdFFpdXlR

Raw Record

{
  "text": "Here is my current code, but I want to use gpt-3.5-turbo-0125 instead of `davinci-002.` \n\n`elif analysis_type == \"openai\":`  \n `response = openai.Completion.create(`  \n `engine=\"davinci-002\",  # Choose appropriate GPT model`  \n `prompt=prompt,`  \n `max_tokens=50 # Adjust as needed`  \n`)`  \n `return response.choices[0].text.strip()`\n\nBut, I am receiving this error message when I change the engine to gpt-3.5-turbo-0125.\n\n​\n\nAn unexpected error occurred: This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?\n\n​\n\n​",
  "label": "r/gpt4",
  "dataType": "post",
  "communityName": "r/GPT4",
  "datetime": "2024-04-10",
  "username_encoded": "Z0FBQUFBQm5LakwxcXlLRXFpM2lybmZJLW91UTNWVjVnLVcwN29uWDlRR2JBeTNvTVdjRENBVGZzeWwxblA3b0Fwb2lzUVVaWmdjZ3pZS2pNcDJiaXZ2UzhZRnR0WnVKTVE9PQ==",
  "url_encoded": "Z0FBQUFBQm5Lak9GN2RxM2NZTnNYSV82b3V6U3UtOW41NC0wanlHVmFFTEpqZTN2SmU0QXBXTmZmTDFMTHB2S0tjMVMtT3kxVEV2bjktMHUtNHdBVHJwZEVDMVo2NWVzYjZqQVYzMW5GMHZUUlpHcTdWTG9VRWFOcHE3YTdxWGJWbnZyeE5LendYU0ZSbEdDSFRCaHFNOWZ2Y0ZJcjdvdjBnbnc0Qy1OMlNlZ19SYm1vOVNGT05uaDVSSFhWV1BUMjlQQktNdFFpdXlR"
}

Entry Information