Skip to content

Commit cee55ac

Browse files
committed
Updated README to include support for Deepseek API, added usage examples, and listed available Deepseek models.
1 parent 3c9a299 commit cee55ac

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Utopia Framework requires PHP 8.0 or later. We recommend using the latest PHP ve
2121

2222
## Features
2323

24-
- **Multiple AI Providers** - Support for OpenAI and Anthropic APIs
24+
- **Multiple AI Providers** - Support for OpenAI, Anthropic, and Deepseek APIs
2525
- **Flexible Message Types** - Support for text and structured content in messages
2626
- **Conversation Management** - Easy-to-use conversation handling between agents and users
27-
- **Model Selection** - Choose from various AI models (GPT-4, Claude 3, etc.)
27+
- **Model Selection** - Choose from various AI models (GPT-4, Claude 3, Deepseek Chat, etc.)
2828
- **Parameter Control** - Fine-tune model behavior with temperature and token controls
2929

3030
## Usage
@@ -93,6 +93,23 @@ Available Anthropic Models:
9393
- `MODEL_CLAUDE_3_HAIKU`: Fast and efficient
9494
- `MODEL_CLAUDE_2_1`: Previous generation
9595

96+
#### Deepseek
97+
98+
```php
99+
use Utopia\Agents\Adapters\Deepseek;
100+
101+
$deepseek = new Deepseek(
102+
apiKey: 'your-api-key',
103+
model: Deepseek::MODEL_DEEPSEEK_CHAT,
104+
maxTokens: 2048,
105+
temperature: 0.7
106+
);
107+
```
108+
109+
Available Deepseek Models:
110+
- `MODEL_DEEPSEEK_CHAT`: General-purpose chat model
111+
- `MODEL_DEEPSEEK_CODER`: Specialized for code-related tasks
112+
96113
### Managing Conversations
97114

98115
```php

0 commit comments

Comments
 (0)