Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlive committed Dec 8, 2024
1 parent 5b6c960 commit 5396e7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/core-concepts/structured-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ Structured output supports all the same options as text generation, including:
- Message history
- Tools and function calling
- System prompts
- withClientOptions
- withClientRetry
- usingProviderConfig

See the [Text Generation](./text-generation.md) documentation for details on these common settings.

Expand Down
4 changes: 4 additions & 0 deletions docs/core-concepts/text-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ Under the hood we use Laravel's [HTTP client](https://laravel.com/docs/11.x/http

Under the hood we use Laravel's [HTTP client](https://laravel.com/docs/11.x/http-client#main-content). You can use this method to set [retries](https://laravel.com/docs/11.x/http-client#retries) e.g. `->withClientRetry(3, 100)`.

`usingClientConfig`

This allows for complete or partial override of the providers configuration. This is great for multi-tenant applications where users supply their own API keys. These values are merged with the original configuration allowing for partial or complete config override.

## Response Handling

The response object provides rich access to the generation results:
Expand Down

0 comments on commit 5396e7f

Please sign in to comment.