{"_id":"@3nsai/genkitx-ollamadynamic","_rev":"4-80e108e37528fe3167ff9808b6a7bfcd","name":"@3nsai/genkitx-ollamadynamic","dist-tags":{"latest":"1.0.504"},"versions":{"1.0.5":{"name":"@3nsai/genkitx-ollamadynamic","version":"1.0.5","keywords":["genkit","genkit-plugin","genkit-model","ollama","ai","genai","generative-ai"],"author":{"name":"genkit"},"license":"Apache-2.0","_id":"@3nsai/genkitx-ollamadynamic@1.0.5","maintainers":[{"name":"3ns","email":"at@livetree.com"},{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"}],"homepage":"https://github.com/firebase/genkit#readme","bugs":{"url":"https://github.com/firebase/genkit/issues"},"dist":{"shasum":"25365b1b08b05bc9fe038a1560bc4a80c5059396","tarball":"https://registry.npmjs.org/@3nsai/genkitx-ollamadynamic/-/genkitx-ollamadynamic-1.0.5.tgz","fileCount":26,"integrity":"sha512-jaNNUUHB0xjzGpj6/bjChBztbjlGik+a5GoJ5lJipGNUb3DTSoUbb2g0vbJm7ceQ9L0yWBB/llHnMoIry1OSVA==","signatures":[{"sig":"MEUCIGX9nyzZorg+ueqA3lb4fXqPaB0qIhHxmAPjflRLX8DLAiEAoAPnJ0MtHawVvHLGp7KAdminv79HPLfVleF75jfToas=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95694},"type":"commonjs","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.mjs","default":"./lib/index.js","require":"./lib/index.js"}},"gitHead":"3840d405ccd5784d36472a5d68624fce710306dc","scripts":{"test":"find tests -name '*_test.ts' ! -name '*_live_test.ts' -exec node --import tsx --test {} +","build":"npm-run-all build:clean check compile","check":"tsc","compile":"tsup-node","test:live":"node --import tsx --test tests/*_test.ts","build:clean":"rimraf ./lib","build:watch":"tsup-node --watch"},"_npmUser":{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"},"repository":{"url":"git+https://github.com/firebase/genkit.git","type":"git","directory":"js/plugins/ollama"},"_npmVersion":"10.7.0","description":"Genkit AI framework plugin for Ollama APIs.","directories":{},"_nodeVersion":"20.12.0","dependencies":{"genkit":"^1.0.5","ollama":"^0.5.9"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.3.5","rimraf":"^6.0.1","typescript":"^4.9.0","@types/node":"^20.11.16","npm-run-all":"^4.1.5"},"peerDependencies":{"genkit":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/genkitx-ollamadynamic_1.0.5_1740407526744_0.36722097321374925","host":"s3://npm-registry-packages-npm-production"}},"1.0.501":{"name":"@3nsai/genkitx-ollamadynamic","version":"1.0.501","keywords":["genkit","genkit-plugin","genkit-model","ollama","ai","genai","generative-ai"],"author":{"name":"genkit"},"license":"Apache-2.0","_id":"@3nsai/genkitx-ollamadynamic@1.0.501","maintainers":[{"name":"3ns","email":"at@livetree.com"},{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"}],"homepage":"https://github.com/firebase/genkit#readme","bugs":{"url":"https://github.com/firebase/genkit/issues"},"dist":{"shasum":"5e55253671ba4b8851a0695e126ea8c03b38aca3","tarball":"https://registry.npmjs.org/@3nsai/genkitx-ollamadynamic/-/genkitx-ollamadynamic-1.0.501.tgz","fileCount":26,"integrity":"sha512-aKRZp+/5jS/1HKkyyYKHQ/VEugzaAu8Iz3TMKxghsTWR7e3R2T0e51NXcrxZgeZ4An8x+w9V1hkmof9uSbfFGQ==","signatures":[{"sig":"MEUCIBycMOncCOf/yTvACWh8EOIyiUlFgtJRUbvcE57Ki/hIAiEA8dE3DyAeKS8S3iJb0u+6GywY7El3Pv+NtiC+apEjHUM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95687},"type":"commonjs","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.mjs","default":"./lib/index.js","require":"./lib/index.js"}},"gitHead":"3840d405ccd5784d36472a5d68624fce710306dc","scripts":{"test":"find tests -name '*_test.ts' ! -name '*_live_test.ts' -exec node --import tsx --test {} +","build":"npm-run-all build:clean check compile","check":"tsc","compile":"tsup-node","test:live":"node --import tsx --test tests/*_test.ts","build:clean":"rimraf ./lib","build:watch":"tsup-node --watch"},"_npmUser":{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"},"repository":{"url":"git+https://github.com/firebase/genkit.git","type":"git","directory":"js/plugins/ollama"},"_npmVersion":"10.7.0","description":"Genkit AI framework plugin for Ollama APIs.","directories":{},"_nodeVersion":"20.12.0","dependencies":{"genkit":"^1.0.5","ollama":"^0.5.9"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.3.5","rimraf":"^6.0.1","typescript":"^4.9.0","@types/node":"^20.11.16","npm-run-all":"^4.1.5"},"peerDependencies":{"genkit":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/genkitx-ollamadynamic_1.0.501_1740408343379_0.7534398141014025","host":"s3://npm-registry-packages-npm-production"}},"1.0.502":{"name":"@3nsai/genkitx-ollamadynamic","version":"1.0.502","keywords":["genkit","genkit-plugin","genkit-model","ollama","ai","genai","generative-ai"],"author":{"name":"genkit"},"license":"Apache-2.0","_id":"@3nsai/genkitx-ollamadynamic@1.0.502","maintainers":[{"name":"3ns","email":"at@livetree.com"},{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"}],"homepage":"https://github.com/firebase/genkit#readme","bugs":{"url":"https://github.com/firebase/genkit/issues"},"dist":{"shasum":"d21213fb2e6d5d9bea0d9b817e65f73a0f06db5b","tarball":"https://registry.npmjs.org/@3nsai/genkitx-ollamadynamic/-/genkitx-ollamadynamic-1.0.502.tgz","fileCount":26,"integrity":"sha512-F7AICV1HXrYeihwIEjBn98TMBRKNqGPdq8ZCtLUbJvVhyFAABOE70BOTa7dpeTDFxAZAyEca427u5oxVXRXeMQ==","signatures":[{"sig":"MEQCIGQ/T3VaBzpGY4l+S5LJDMYGJtDUtDJxpaIdMw6wUpGPAiAJi4QdSMlsQqargWEZdvzrFwwEGYY0qYW/MmkhlOXdFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95742},"type":"commonjs","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.mjs","default":"./lib/index.js","require":"./lib/index.js"}},"gitHead":"3840d405ccd5784d36472a5d68624fce710306dc","scripts":{"test":"find tests -name '*_test.ts' ! -name '*_live_test.ts' -exec node --import tsx --test {} +","build":"npm-run-all build:clean check compile","check":"tsc","compile":"tsup-node","test:live":"node --import tsx --test tests/*_test.ts","build:clean":"rimraf ./lib","build:watch":"tsup-node --watch"},"_npmUser":{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"},"repository":{"url":"git+https://github.com/firebase/genkit.git","type":"git","directory":"js/plugins/ollama"},"_npmVersion":"10.7.0","description":"Genkit AI framework plugin for Ollama APIs.","directories":{},"_nodeVersion":"20.12.0","dependencies":{"genkit":"^1.0.5","ollama":"^0.5.9"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.3.5","rimraf":"^6.0.1","typescript":"^4.9.0","@types/node":"^20.11.16","npm-run-all":"^4.1.5"},"peerDependencies":{"genkit":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/genkitx-ollamadynamic_1.0.502_1740409998703_0.5267796407506593","host":"s3://npm-registry-packages-npm-production"}},"1.0.503":{"name":"@3nsai/genkitx-ollamadynamic","version":"1.0.503","keywords":["genkit","genkit-plugin","genkit-model","ollama","ai","genai","generative-ai"],"author":{"name":"genkit"},"license":"Apache-2.0","_id":"@3nsai/genkitx-ollamadynamic@1.0.503","maintainers":[{"name":"3ns","email":"at@livetree.com"},{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"}],"homepage":"https://github.com/firebase/genkit#readme","bugs":{"url":"https://github.com/firebase/genkit/issues"},"dist":{"shasum":"f87a3d507e5bcadd31faa13995de0d6b0d403a3d","tarball":"https://registry.npmjs.org/@3nsai/genkitx-ollamadynamic/-/genkitx-ollamadynamic-1.0.503.tgz","fileCount":20,"integrity":"sha512-WOzDqmjBfC0Vc6TiVNHa/ZjW4G23NF7s3wqsG8ZXmWjKjcqLKsJ5x7LwB0q8bbR+NVAxJn74ZIlCQ4vDSv6muQ==","signatures":[{"sig":"MEYCIQCTMcRO+wKCGyGGg0hWVoYCoHXdlYh1du9PLFH/BvV7zwIhAIlnDKepD7slpgfPGlHHi59MVS4pA4GUJpldPlVRz+ds","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80608},"type":"commonjs","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.mjs","default":"./lib/index.js","require":"./lib/index.js"}},"gitHead":"3840d405ccd5784d36472a5d68624fce710306dc","scripts":{"test":"find tests -name '*_test.ts' ! -name '*_live_test.ts' -exec node --import tsx --test {} +","build":"npm-run-all build:clean check compile","check":"tsc","compile":"tsup-node","test:live":"node --import tsx --test tests/*_test.ts","build:clean":"rimraf ./lib","build:watch":"tsup-node --watch"},"_npmUser":{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"},"repository":{"url":"git+https://github.com/firebase/genkit.git","type":"git","directory":"js/plugins/ollama"},"_npmVersion":"10.7.0","description":"Genkit AI framework plugin for Ollama APIs.","directories":{},"_nodeVersion":"20.12.0","dependencies":{"genkit":"^1.0.5","ollama":"^0.5.9"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.3.5","rimraf":"^6.0.1","typescript":"^4.9.0","@types/node":"^20.11.16","npm-run-all":"^4.1.5"},"peerDependencies":{"genkit":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/genkitx-ollamadynamic_1.0.503_1740410279193_0.6243601707999353","host":"s3://npm-registry-packages-npm-production"}},"1.0.504":{"name":"@3nsai/genkitx-ollamadynamic","description":"Genkit AI framework plugin for Ollama APIs.","keywords":["genkit","genkit-plugin","genkit-model","ollama","ai","genai","generative-ai"],"version":"1.0.504","type":"commonjs","scripts":{"check":"tsc","compile":"tsup-node","build:clean":"rimraf ./lib","build":"npm-run-all build:clean check compile","build:watch":"tsup-node --watch","test":"find tests -name '*_test.ts' ! -name '*_live_test.ts' -exec node --import tsx --test {} +","test:live":"node --import tsx --test tests/*_test.ts"},"repository":{"type":"git","url":"git+https://github.com/firebase/genkit.git","directory":"js/plugins/ollama"},"author":{"name":"genkit"},"license":"Apache-2.0","peerDependencies":{"genkit":"workspace:^"},"dependencies":{"genkit":"^1.0.5","ollama":"^0.5.9"},"devDependencies":{"@types/node":"^20.11.16","npm-run-all":"^4.1.5","rimraf":"^6.0.1","tsup":"^8.3.5","tsx":"^4.19.2","typescript":"^4.9.0"},"types":"./lib/index.d.ts","exports":{".":{"require":"./lib/index.js","import":"./lib/index.mjs","types":"./lib/index.d.ts","default":"./lib/index.js"}},"_id":"@3nsai/genkitx-ollamadynamic@1.0.504","gitHead":"3840d405ccd5784d36472a5d68624fce710306dc","bugs":{"url":"https://github.com/firebase/genkit/issues"},"homepage":"https://github.com/firebase/genkit#readme","_nodeVersion":"20.12.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-LsOF4uCYRVKUSX0l5PG/05hA6ulwckVBfVKmOn2X8GW5sr8CviaX9hBu4WSLH797Mq7BzNmSvygBl51A3xnCAA==","shasum":"9086331a978bd6da93d40be09a9b7371fa4d8267","tarball":"https://registry.npmjs.org/@3nsai/genkitx-ollamadynamic/-/genkitx-ollamadynamic-1.0.504.tgz","fileCount":20,"unpackedSize":80608,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICifngGT02Fq0Gvya179kRdpmxmnoNByZLzLUEtf8vUgAiAJ1SzJVvoS2XIi6XZIJ+3zgGDexwZJAuYn9fD8zydGyg=="}]},"_npmUser":{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"},"directories":{},"maintainers":[{"name":"3ns","email":"at@livetree.com"},{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/genkitx-ollamadynamic_1.0.504_1740410385819_0.4930271782454887"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-24T14:32:06.644Z","modified":"2025-02-24T15:19:46.222Z","1.0.5":"2025-02-24T14:32:06.967Z","1.0.501":"2025-02-24T14:45:43.623Z","1.0.502":"2025-02-24T15:13:18.950Z","1.0.503":"2025-02-24T15:17:59.384Z","1.0.504":"2025-02-24T15:19:46.034Z"},"bugs":{"url":"https://github.com/firebase/genkit/issues"},"author":{"name":"genkit"},"license":"Apache-2.0","homepage":"https://github.com/firebase/genkit#readme","keywords":["genkit","genkit-plugin","genkit-model","ollama","ai","genai","generative-ai"],"repository":{"type":"git","url":"git+https://github.com/firebase/genkit.git","directory":"js/plugins/ollama"},"description":"Genkit AI framework plugin for Ollama APIs.","maintainers":[{"name":"3ns","email":"at@livetree.com"},{"name":"nabeelimran","email":"nabeel.imran852@gmail.com"}],"readme":"# Ollama plugin for Genkit\r\n\r\n## Installing the plugin\r\n\r\n```bash\r\nnpm i --save genkitx-ollama\r\n```\r\n\r\n## Using the plugin\r\n\r\n```ts\r\nimport { genkit } from 'genkit';\r\nimport { ollama } from 'genkitx-ollama';\r\n\r\nconst ai = genkit({\r\n  plugins: [\r\n    ollama({\r\n      models: [{ name: 'gemma' }],\r\n      serverAddress: 'http://127.0.0.1:11434', // default local address\r\n    }),\r\n  ],\r\n});\r\n\r\nasync function main() {\r\n  const { text } = await ai.generate({\r\n    prompt: 'hi Gemini!',\r\n    model: 'ollama/gemma',\r\n  });\r\n  console.log(text);\r\n}\r\n\r\nmain();\r\n```\r\n\r\nThe sources for this package are in the main [Genkit](https://github.com/firebase/genkit) repo. Please file issues and pull requests against that repo.\r\n\r\nUsage information and reference details can be found in [Genkit documentation](https://firebase.google.com/docs/genkit).\r\n\r\nLicense: Apache 2.0\r\n","readmeFilename":"README.md"}