Chatgpt api responses are different in diffrerent api keys

60 views Asked by At

I have developed a langchain summarization using chatgpt api 3.5 turbo, when i use different type of keys for the summarization the structure of the summary is changing. how can i short out this problem?

summarization output without changing the structure

1

There are 1 answers

0
ZKS On

You prompt role should not change between the API keys, usually the output of the model should be same. So, make sure you have well defined prompt and it does not change when you change the API keys..