diff --git a/README.md b/README.md index 74e6321..6b3e86e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# go-repo-template +# go-embeddings -[![Build Status](https://github.com/milosgajdos/go-repo-template/workflows/CI/badge.svg)](https://github.com/milosgajdos/go-repo-template/actions?query=workflow%3ACI) -[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/github.com/milosgajdos/go-repo-template) +[![Build Status](https://github.com/milosgajdos/go-embeddings/workflows/CI/badge.svg)](https://github.com/milosgajdos/go-embeddings/actions?query=workflow%3ACI) +[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/github.com/milosgajdos/go-embeddings) [![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -This is a `Go` project repo template following the [official guide](https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/creating-a-template-repository). +This project provides an implementation for fetching embeddings from various LLMs. diff --git a/doc.go b/doc.go index 2eb13e9..322cb36 100644 --- a/doc.go +++ b/doc.go @@ -1,3 +1,3 @@ -// Package embedding provides an implementation for fetching +// Package embeddings provides an implementation for fetching // vector embeddings from various LLM providers. -package embedding +package embeddings diff --git a/embedding.go b/embedding.go deleted file mode 100644 index 794034f..0000000 --- a/embedding.go +++ /dev/null @@ -1,7 +0,0 @@ -package embedding - -// Embedding is a vector embedding. -type Embedding interface { - // Values returns vector embedding values. - Values() []float64 -} diff --git a/go.mod b/go.mod index 639a348..a87e314 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/milosgajdos/go-embedding +module github.com/milosgajdos/go-embeddings go 1.20