{"_id":"@1orzero/ai-openai","name":"@1orzero/ai-openai","dist-tags":{"latest":"1.3.24-explorator.1"},"versions":{"1.3.24-explorator.1":{"name":"@1orzero/ai-openai","version":"1.3.24-explorator.1","license":"Apache-2.0","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"tsup","build:watch":"tsup --watch","clean":"rm -rf dist && rm -rf internal/dist","lint":"eslint \"./**/*.ts*\"","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run","test:node:watch":"vitest --config vitest.node.config.js --watch"},"exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./internal":{"types":"./internal/dist/index.d.ts","import":"./internal/dist/index.mjs","module":"./internal/dist/index.mjs","require":"./internal/dist/index.js"}},"dependencies":{"@ai-sdk/provider":"1.1.3","@ai-sdk/provider-utils":"2.2.8"},"devDependencies":{"@types/node":"20.17.24","@vercel/ai-tsconfig":"workspace:*","tsup":"^8","typescript":"5.6.3","zod":"3.23.8"},"peerDependencies":{"zod":"^3.0.0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"homepage":"https://ai-sdk.dev/docs","repository":{"type":"git","url":"git+https://github.com/1orzero/ai.git"},"bugs":{"url":"https://github.com/1orzero/ai/issues"},"keywords":["ai"],"_id":"@1orzero/ai-openai@1.3.24-explorator.1","gitHead":"f61347bf1017074ffc7f1d70264b5ac222ff8d64","description":"The **[OpenAI provider](https://ai-sdk.dev/providers/ai-sdk-providers/openai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings API.","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-yh/n4r8HWjtzJSJGjsKKtABWN37ypcM+bdmQu70+2sU65D0ya8r0WbtfDY6AnIxv1Lwhj3+sgoyuncGKgV6kaA==","shasum":"0a14c56fc5767b8aa20d6d372d82e48e5df6a649","tarball":"https://registry.npmjs.org/@1orzero/ai-openai/-/ai-openai-1.3.24-explorator.1.tgz","fileCount":15,"unpackedSize":1150713,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCop59CJvsKq0v5iRdRlqgCe+Oqd9HN7MhSXzNXsFvgLgIgU01r+x1MgzE2AN5VQT/KxWR1kIRGiMWb+BeIOZ0u3zE="}]},"_npmUser":{"name":"1orzero","email":"derek@veraze.io"},"directories":{},"maintainers":[{"name":"1orzero","email":"derek@veraze.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-openai_1.3.24-explorator.1_1757693155717_0.6796424751872969"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-12T16:05:55.582Z","1.3.24-explorator.1":"2025-09-12T16:05:55.963Z","modified":"2025-09-12T16:05:56.263Z"},"maintainers":[{"name":"1orzero","email":"derek@veraze.io"}],"description":"The **[OpenAI provider](https://ai-sdk.dev/providers/ai-sdk-providers/openai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings API.","homepage":"https://ai-sdk.dev/docs","keywords":["ai"],"repository":{"type":"git","url":"git+https://github.com/1orzero/ai.git"},"bugs":{"url":"https://github.com/1orzero/ai/issues"},"license":"Apache-2.0","readme":"# AI SDK - OpenAI Provider\n\nThe **[OpenAI provider](https://ai-sdk.dev/providers/ai-sdk-providers/openai)** for the [AI SDK](https://ai-sdk.dev/docs)\ncontains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings API.\n\n## Setup\n\nThe OpenAI provider is available in the `@ai-sdk/openai` module. You can install it with\n\n```bash\nnpm i @ai-sdk/openai\n```\n\n## Provider Instance\n\nYou can import the default provider instance `openai` from `@ai-sdk/openai`:\n\n```ts\nimport { openai } from '@ai-sdk/openai';\n```\n\n## Example\n\n```ts\nimport { openai } from '@ai-sdk/openai';\nimport { generateText } from 'ai';\n\nconst { text } = await generateText({\n  model: openai('gpt-4-turbo'),\n  prompt: 'Write a vegetarian lasagna recipe for 4 people.',\n});\n```\n\n## Documentation\n\nPlease check out the **[OpenAI provider documentation](https://ai-sdk.dev/providers/ai-sdk-providers/openai)** for more information.\n","readmeFilename":"README.md","_rev":"1-c6200ac8f5e24866bc5359ccd765befa"}