vulndb/internal/genai
Tatiana Bradley 10c3808cf5 all, internal/report: refactor logic to read reports from vulndb repo
Package the logic to read reports from a vulndb-like repo into
a Client, and update all callers.

For now, the behavior under the hood is basically the same as it was, but
the callers do not need to carry around the specific maps needed
to access certain information.

Change-Id: I7bd28bfbf2a40d5d2bc37453051f866517086f23
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/562177
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-21 15:53:16 +00:00
..
data internal/genai: move prompt template to files 2024-01-05 19:43:01 +00:00
gen_examples all, internal/report: refactor logic to read reports from vulndb repo 2024-02-21 15:53:16 +00:00
templates internal/genai: move prompt template to files 2024-01-05 19:43:01 +00:00
examples.go internal/genai: move prompt template to files 2024-01-05 19:43:01 +00:00
examples_test.go
gemini.go cmd/vulnreport: use gemini by default in vulnreport suggest 2024-01-05 19:43:16 +00:00
gemini_test.go internal/genai: add support for Gemini 2024-01-05 19:43:07 +00:00
prompt.go internal/genai: move prompt template to files 2024-01-05 19:43:01 +00:00
prompt_test.go
suggest.go
suggest_test.go