Assistant - Wordpress connection and reliability

Hi, can anyone with in-depth experience in connecting their WP website to the Assistant via PHP codes assist in retrieving the following information;

I have looked through the OpenAI API documentation (https://beta.openai.com/docs/api-reference/introduction), and I can’t get the following data:

  • The available operations with Assistants (e.g., completions, messages).
  • The required API version that supports these operations.
  • Any specific headers or parameters required for requests involving Assistants.
  1. Subscription Plan: Verify my OpenAI subscription plan if there are any features and limits imposed on accessing the Assistants as intended.

curl_setopt($ch, CURLOPT_URL, “https://api.openai.com/v1/assistants/$gpt_assistant_id”);

Hey, I’m struggling with the same issue here. Did you find any solution?

The docs for assistants are here…

https://platform.openai.com/docs/assistants/overview

While I couldn’t find a Cookbook entry for PHP, this one for Python might be helpful in showing you how it’s set-up…

Do you have code that we can look at that’s not working?

1 Like

Hey Paul, sorry for my late response. Thank you very much for the link! That’s very helpful.

2 Likes