An open API service indexing awesome lists of open source software.

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.

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?"
```