feat(integration-xai): Add support for X.AI provider with chat and document processing capabilities.
This commit is contained in:
@@ -24,6 +24,14 @@ This command installs the package and adds it to your project's dependencies.
|
||||
openaiToken: 'your-openai-token'
|
||||
```
|
||||
|
||||
### X.AI
|
||||
- Models: Grok-2-latest
|
||||
- Features: Chat, Streaming, Document Processing
|
||||
- Configuration:
|
||||
```typescript
|
||||
xaiToken: 'your-xai-token'
|
||||
```
|
||||
|
||||
### Anthropic
|
||||
- Models: Claude-3-opus-20240229
|
||||
- Features: Chat, Streaming, Vision, Document Processing
|
||||
@@ -75,6 +83,7 @@ import { SmartAi } from '@push.rocks/smartai';
|
||||
|
||||
const smartAi = new SmartAi({
|
||||
openaiToken: 'your-openai-token',
|
||||
xaiToken: 'your-xai-token',
|
||||
anthropicToken: 'your-anthropic-token',
|
||||
perplexityToken: 'your-perplexity-token',
|
||||
groqToken: 'your-groq-token',
|
||||
|
Reference in New Issue
Block a user