- Issue created by @ultimike
- π―π΅Japan eleonel Itoshima π―π΅
Could you please share a screenshot of the entire augmentor configuration?
- πΊπΈUnited States ultimike Florida, USA
@eleonel - thanks for the quick reply.
- Augmentor version: 1.1.x-dev (74c3aaa646)
- ChatGPT Augmentor version: 1.0.x-dev (2e99cf)
Screenshot:
Everything in the "Advanced" fieldset is default values.
thanks,
-mike - π―π΅Japan eleonel Itoshima π―π΅
Hi there, I wasn't able to replicate the issue using:
- drupal/core (10.2.x-dev)
- drupal/augmentor (dev-1.1.x 74c3aaa)
- drupal/augmentor_chatgpt (dev-1.0.x e2153be)
Could you please upgrading the modules to the latest commits?
- Status changed to Closed: cannot reproduce
7 months ago 6:22am 23 May 2024 - πΊπΈUnited States ultimike Florida, USA
@eleonel Thanks for the assistance.
After updating everything, I was now able to get a valid response using:
- API key: OpenAI
- SDK to use: openai-php/client
- Model: gpt-4o
But, when I changed the "SDK to use" to "orhanerday/open-ai", I received the error, "{"error":"Error during the chat completion execution, please check the logs for more information."}". Looking at the log, it has the same error as I originally reported:
OpenAI API error: We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.).
So, it looks like it is/was an SDK issue.
Thanks!
-mike