ollama-js icon indicating copy to clipboard operation
ollama-js copied to clipboard

Is there a way to import it directly to a page as a script?

Open redet-G opened this issue 1 year ago • 1 comments

I have this old project that is not npm-based. I want to import the .js file as script and start using it. Is this possible?

redet-G avatar Jun 23 '24 15:06 redet-G

No, because Ollama uses Typescript. However, you could download the source and compile it to Javascript then use that.

hopperelec avatar Jun 23 '24 15:06 hopperelec