{"_id":"@ai-toolkit/groq","name":"@ai-toolkit/groq","dist-tags":{"latest":"1.1.12"},"versions":{"1.1.12":{"name":"@ai-toolkit/groq","version":"1.1.12","license":"Apache-2.0","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"dependencies":{"@ai-toolkit/provider":"1.0.10","@ai-toolkit/provider-utils":"2.1.11"},"devDependencies":{"@types/node":"^18","tsup":"^8","typescript":"5.6.3","zod":"3.23.8","@khulnasoft/ai-tsconfig":"0.0.0"},"peerDependencies":{"zod":"^3.0.0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"homepage":"https://sdk.khulnasoft.com/docs","repository":{"type":"git","url":"git+https://github.com/khulnasoft/ai-toolkit.git"},"bugs":{"url":"https://github.com/khulnasoft/ai-toolkit/issues"},"keywords":["ai-toolkit"],"scripts":{"build":"tsup","build:watch":"tsup --watch","clean":"rm -rf 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"},"_id":"@ai-toolkit/groq@1.1.12","description":"The **[Groq provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/groq)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the Groq chat and completion APIs and embedding model support for the Groq em","_integrity":"sha512-ye3/pfECtBVZQLj5WSr9wmWzadWf1FSrZxDNgHZmEtzJhg7rrOIRgxnQ7yloHMwsTyO1R0ZaHdNoovvBs59Q5A==","_resolved":"/tmp/022f500d6120be5c259a84b4dbd50df7/ai-toolkit-groq-1.1.12.tgz","_from":"file:ai-toolkit-groq-1.1.12.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-ye3/pfECtBVZQLj5WSr9wmWzadWf1FSrZxDNgHZmEtzJhg7rrOIRgxnQ7yloHMwsTyO1R0ZaHdNoovvBs59Q5A==","shasum":"c6adf30313e300bf5aae057248f56b34ed6ae12f","tarball":"https://registry.npmjs.org/@ai-toolkit/groq/-/groq-1.1.12.tgz","fileCount":9,"unpackedSize":131616,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDqd7n/NvtvqII3GLsI7UZylyXM4uI39GAjEJUz5wC7BAiEAn+maUj2R6vrdr2zgyxyRUN+CjtA3bKmB4iZ3ZHg8K3E="}]},"_npmUser":{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"},"directories":{},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/groq_1.1.12_1741546717234_0.6887139757571401"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-09T18:58:37.118Z","1.1.12":"2025-03-09T18:58:37.469Z","modified":"2025-03-09T18:58:37.798Z"},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"description":"The **[Groq provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/groq)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the Groq chat and completion APIs and embedding model support for the Groq em","homepage":"https://sdk.khulnasoft.com/docs","keywords":["ai-toolkit"],"repository":{"type":"git","url":"git+https://github.com/khulnasoft/ai-toolkit.git"},"bugs":{"url":"https://github.com/khulnasoft/ai-toolkit/issues"},"license":"Apache-2.0","readme":"# AI TOOLKIT - Groq Provider\n\nThe **[Groq provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/groq)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs)\ncontains language model support for the Groq chat and completion APIs and embedding model support for the Groq embeddings API.\n\n## Setup\n\nThe Groq provider is available in the `@ai-toolkit/groq` module. You can install it with\n\n```bash\nnpm i @ai-toolkit/groq\n```\n\n## Provider Instance\n\nYou can import the default provider instance `groq` from `@ai-toolkit/groq`:\n\n```ts\nimport { groq } from '@ai-toolkit/groq';\n```\n\n## Example\n\n```ts\nimport { groq } from '@ai-toolkit/groq';\nimport { generateText } from 'ai-toolkit';\n\nconst { text } = await generateText({\n  model: groq('gemma2-9b-it'),\n  prompt: 'Write a vegetarian lasagna recipe for 4 people.',\n});\n```\n\n## Documentation\n\nPlease check out the **[Groq provider documentation](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/groq)** for more information.\n","readmeFilename":"README.md","_rev":"1-847fb36809cc3b5b60d73715c175c1c0"}