You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -18,15 +18,15 @@ Prism is a powerful Laravel package for integrating Large Language Models (LLMs)
18
18
19
19
## Official Documentation
20
20
21
-
Official documentation can be found on the [Prism website](https://prism.echolabs.dev).
21
+
Official documentation can be found on the [Prism website](https://prismphp.com).
22
22
23
23
## Code of Conduct
24
24
25
25
While we aren't affiliated with Laravel, we follow the Laravel [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). We expect you to abide by these guidelines as well.
26
26
27
27
## Authors
28
28
29
-
This library is created by [TJ Miller](https://tjmiller.me) with contributions from the [Open Source Community](https://github.com/echolabsdev/prism/graphs/contributors).
29
+
This library is created by [TJ Miller](https://tjmiller.me) with contributions from the [Open Source Community](https://github.com/prismphp/prism/graphs/contributors).
Copy file name to clipboardexpand all lines: docs/core-concepts/prism-server.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -25,9 +25,9 @@ First, make sure Prism Server is enabled in your `config/prism.php` file:
25
25
To make your Prism models available through the server, you need to register them. This is typically done in a service provider, such as `AppServiceProvider`:
Copy file name to clipboardexpand all lines: docs/core-concepts/streaming-output.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Want to show AI responses to your users in real-time? Streaming lets you display
7
7
At its simplest, streaming works like this:
8
8
9
9
```php
10
-
use EchoLabs\Prism\Prism;
10
+
use PrismPHP\Prism\Prism;
11
11
12
12
$response = Prism::stream()
13
13
->using('openai', 'gpt-4')
@@ -44,8 +44,8 @@ foreach ($response as $chunk) {
44
44
Streaming works seamlessly with tools, allowing real-time interaction:
45
45
46
46
```php
47
-
use EchoLabs\Prism\Facades\Tool;
48
-
use EchoLabs\Prism\Prism;
47
+
use PrismPHP\Prism\Facades\Tool;
48
+
use PrismPHP\Prism\Prism;
49
49
50
50
$weatherTool = Tool::as('weather')
51
51
->for('Get current weather information')
@@ -95,7 +95,7 @@ Here's how to integrate streaming in a Laravel controller:
95
95
Alternatively, you might consider using Laravel's [Broadcasting feature](https://laravel.com/docs/12.x/broadcasting) to send the chunks to your frontend.
0 commit comments