https://github.com/myty/deno-embeddings
This is a simple Deno CLI app that demonstrates how to use embeddings in a Deno CLI app.
https://github.com/myty/deno-embeddings
deno embeddings ollama
Last synced: 5 months ago
JSON representation
This is a simple Deno CLI app that demonstrates how to use embeddings in a Deno CLI app.
- Host: GitHub
- URL: https://github.com/myty/deno-embeddings
- Owner: myty
- Created: 2024-08-07T11:45:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T18:16:14.000Z (almost 2 years ago)
- Last Synced: 2025-11-17T03:31:14.600Z (8 months ago)
- Topics: deno, embeddings, ollama
- Language: TypeScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Embeddings in Deno (Demo)
This is a simple Deno CLI app that demonstrates how to use embeddings in a Deno CLI app.
## Running the sample docs
To run this app, you need to have following:
- Deno:
- Ollama:
Once you have Deno installed, you can run the app by executing the following commands:
```sh
ollama pull mxbai-embed-large
```
```sh
ollama pull llama3.1
```
```sh
deno task dev embed ./sample-docs
```
```sh
deno task dev prompt "What animals are llamas related to?"
```