Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

PHP Fatal error: Uncaught Error: Class "Tectalic\OpenAi\Manager" not found #10

Answered by thejamescollins
wyatt121 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there @wyatt121,

Does your test.php script require/include the Composer autoloader file?

Please see the Usage section here.

  1. Install the package: composer require tectalic/openai
  2. Load your project's composer autoloader (if you aren't already doing so):
    require_once(__DIR__ . '/vendor/autoload.php');
  3. Then build the Tectalic Client.

If that doesn't help, please copy and paste your test.php file and include it here so we can see the code you're using.

Thank you,

James

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thejamescollins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants