{"_id":"@ai-toolkit/togetherai","name":"@ai-toolkit/togetherai","dist-tags":{"latest":"0.1.14"},"versions":{"0.1.14":{"name":"@ai-toolkit/togetherai","version":"0.1.14","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/openai-compatible":"0.1.13","@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/togetherai@0.1.14","description":"The **[Together.ai provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/togetherai)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the [Together.ai](https://together.ai) platform.","_integrity":"sha512-suKDjQeKXolShLOs4g9Z/IwgzAlj7QUlY6wFPIiYjPTNaRcb4eSAlE3+wAR0EVqJLGzcPJjYz4bsItMqaN0oug==","_resolved":"/tmp/bb313caea1eef437b345096f18cd6059/ai-toolkit-togetherai-0.1.14.tgz","_from":"file:ai-toolkit-togetherai-0.1.14.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-suKDjQeKXolShLOs4g9Z/IwgzAlj7QUlY6wFPIiYjPTNaRcb4eSAlE3+wAR0EVqJLGzcPJjYz4bsItMqaN0oug==","shasum":"6672c234c225946aa8b476bacadb402f77ee7666","tarball":"https://registry.npmjs.org/@ai-toolkit/togetherai/-/togetherai-0.1.14.tgz","fileCount":9,"unpackedSize":46615,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDL1bKO38l8FWhrraxjQrUAP4msZ8kzuXPDpNabfhx+bAIhALS/bIzZQMHnBS6lQ2j25qc24EceNh5jUy164oovQCTd"}]},"_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/togetherai_0.1.14_1741546730329_0.5430159349567918"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-09T18:58:50.228Z","0.1.14":"2025-03-09T18:58:50.507Z","modified":"2025-03-09T18:58:50.757Z"},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"description":"The **[Together.ai provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/togetherai)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the [Together.ai](https://together.ai) platform.","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 - Together.ai Provider\n\nThe **[Together.ai provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/togetherai)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the [Together.ai](https://together.ai) platform.\n\n## Setup\n\nThe Together.ai provider is available in the `@ai-toolkit/togetherai` module. You can install it with\n\n```bash\nnpm i @ai-toolkit/togetherai\n```\n\n## Provider Instance\n\nYou can import the default provider instance `togetherai` from `@ai-toolkit/togetherai`:\n\n```ts\nimport { togetherai } from '@ai-toolkit/togetherai';\n```\n\n## Example\n\n```ts\nimport { togetherai } from '@ai-toolkit/togetherai';\nimport { generateText } from 'ai-toolkit';\n\nconst { text } = await generateText({\n  model: togetherai('meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo'),\n  prompt: 'Write a Python function that sorts a list:',\n});\n```\n\n## Documentation\n\nPlease check out the **[Together.ai provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/togetherai)** for more information.\n","readmeFilename":"README.md","_rev":"1-a542dc144da3d65767f727a0c5250289"}