diff --git a/src/ClientFactory.php b/src/ClientFactory.php index 938f1b7..e76e2b1 100644 --- a/src/ClientFactory.php +++ b/src/ClientFactory.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/main/README.md * @contact huangdijia@gmail.com */ + namespace FriendsOfHyperf\OpenAi; use FriendsOfHyperf\OpenAi\Exception\ApiKeyIsMissing; diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index 831c6ee..a795808 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/main/README.md * @contact huangdijia@gmail.com */ + namespace FriendsOfHyperf\OpenAi; use OpenAI\Client; diff --git a/src/Exception/ApiKeyIsMissing.php b/src/Exception/ApiKeyIsMissing.php index 96cb1fe..d6054d1 100644 --- a/src/Exception/ApiKeyIsMissing.php +++ b/src/Exception/ApiKeyIsMissing.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/main/README.md * @contact huangdijia@gmail.com */ + namespace FriendsOfHyperf\OpenAi\Exception; use InvalidArgumentException;