Skip to content

Commit

Permalink
cleanup: add doc and embedding type
Browse files Browse the repository at this point in the history
This also removes unneeded stuff that came with go-template

Signed-off-by: Milos Gajdos <[email protected]>
  • Loading branch information
milosgajdos committed Nov 28, 2023
1 parent 5aef1be commit 631c347
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
3 changes: 3 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Package embedding provides an implementation for fetching
// vector embeddings from various LLM providers.
package embedding
7 changes: 7 additions & 0 deletions embedding.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package embedding

// Embedding is a vector embedding.
type Embedding interface {
// Values returns vector embedding values.
Values() []float64
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/milosgajdos/go-repo-template
module github.com/milosgajdos/go-embedding

go 1.20
7 changes: 0 additions & 7 deletions main.go

This file was deleted.

7 changes: 0 additions & 7 deletions main_test.go

This file was deleted.

0 comments on commit 631c347

Please sign in to comment.