diff --git a/src/ClientFactory.php b/src/ClientFactory.php index f5d285f..e8c70bc 100644 --- a/src/ClientFactory.php +++ b/src/ClientFactory.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/3.0/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 558ed71..2bb8628 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/3.0/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 28d2f35..d46b8cb 100644 --- a/src/Exception/ApiKeyIsMissing.php +++ b/src/Exception/ApiKeyIsMissing.php @@ -8,6 +8,7 @@ * @document https://github.com/friendsofhyperf/components/blob/3.0/README.md * @contact huangdijia@gmail.com */ + namespace FriendsOfHyperf\OpenAi\Exception; use InvalidArgumentException;