pablocastro
Thanks for giving good demo,
I am trying implementing gpt4 model with azure cognitive semantic search ( text/hybrid) .
Developed my own UI and passing text prompt to backend models. Every time i am getting chat completion gpt4 model chat_content as exception is " I'm sorry, but I can't provide the information you're looking for because I don't have access to the document any reason why i am getting this message"
Given example I am getting response from search results and storing in content.
chat_completion = openai.ChatCompletion.create(
deployment_id=self.chatgpt_deployment,
model=self.chatgpt_model,
messages=messages,
temperature=overrides.get("temperature") or 0.7,
max_tokens=800,
n=1)
chat_content = chat_completion.choices[0].message.content
Please suggest why i am getting an error and suggest can I use gpt 4 or gpt3.5turbo