openai-openapi icon indicating copy to clipboard operation
openai-openapi copied to clipboard

system fingerprint is None for some models, but not others

Open elisa-abridge opened this issue 1 year ago • 1 comments

Per the documentation here, the OpenAI API should return a system_fingerprint. However, when calling any model that is not gpt-3.5-turbo-1106 or gpt-4-1106-preview, the system_fingerprint is always None.

The link above doesn't mention any model requirement.

Please update the code to return a system fingerprint for earlier models, or else document in the API which models are actually supported.

To Reproduce

copy and paste notebook here change this line to an older model: GPT_MODEL = "gpt-3.5-turbo-1106" For example: GPT_MODEL = "gpt-3.5-turbo-0613"

the system_fingerprint returned is None

OS-Ubuntu Python version- Python v3.10 Library version- openai v1.6.1

elisa-abridge avatar Jan 15 '24 20:01 elisa-abridge

fwiw with the python sdk I don't get a fingerprint with gpt-3.5-turbo-1106. I do get one with gpt-4-turbo

jberryman avatar May 14 '24 16:05 jberryman