# Vercel AI SDK

> שימוש בספק התואם ל-OpenAI של ה-AI SDK.


```js test
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';
import { generateText } from 'ai';

const notholy = createOpenAICompatible({ name: 'notholy', baseURL: 'https://api.notholy.com/v1', apiKey: process.env.NOTHOLY_API_KEY });
const { text } = await generateText({ model: notholy('notholy-specter'), prompt: 'What is a KEV entry?' });
console.log(text);
```

גם `streamText` וכלים עובדים באותה דרך.

## הבא

- [סטרימינג](/he/guides/streaming)
