Function call not giving complete key name in json

Hi

I am using function calling with gpt3.5 turbo model. I have a function which contains a big key which includes five to six words joined using _ but sometimes GPT didn’t send the whole key, instead it skips some words from the key name. This is giving error while calling that function.

How to fix this issue?

Welcome to the community!

Here are some options:

  1. use a stronger model
  2. decrease temperature
  3. mask your keys, there’s probably no real reason why the model needs to transcribe the whole key

:slight_smile:

2 Likes

Can you post your function schema you defined? I am not able to understand the problem here.