internal/embeddocs: embed docs

Package embeddocs uses an llm.Embedder to embed docs
into a vector database.

Copied from https://github.com/rsc/gaby/commit/f4b2662.

Change-Id: I1f2ae0f52b53b33885f436c1e19653783566c4c1
Reviewed-on: https://go-review.googlesource.com/c/oscar/+/597148
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2 files changed
tree: 6db8cf03594844caa8151677865a7d71b448c0b2
  1. internal/
  2. codereview.cfg
  3. CONTRIBUTING.md
  4. go.mod
  5. go.sum
  6. LICENSE
  7. PATENTS
  8. README.md
README.md

Open source contributor agent architecture code. More to come.