├── .github └── workflows │ └── release.yml ├── .gitignore ├── Dockerfile ├── GITHUB_METADATA.md ├── LICENSE ├── Makefile ├── README.md ├── assets └── demo.png ├── cmd └── api │ └── main.go ├── docker-compose.yml ├── go.mod ├── go.sum ├── internal ├── cache │ ├── cache.go │ └── cache_test.go ├── semantic │ ├── openai_provider.go │ ├── semantic.go │ ├── semantic_test.go │ ├── vector.go │ └── vector_test.go └── storage │ ├── badger.go │ └── storage.go └── main.go /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/Dockerfile -------------------------------------------------------------------------------- /GITHUB_METADATA.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/GITHUB_METADATA.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/README.md -------------------------------------------------------------------------------- /assets/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/assets/demo.png -------------------------------------------------------------------------------- /cmd/api/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/cmd/api/main.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/go.sum -------------------------------------------------------------------------------- /internal/cache/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/cache/cache.go -------------------------------------------------------------------------------- /internal/cache/cache_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/cache/cache_test.go -------------------------------------------------------------------------------- /internal/semantic/openai_provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/semantic/openai_provider.go -------------------------------------------------------------------------------- /internal/semantic/semantic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/semantic/semantic.go -------------------------------------------------------------------------------- /internal/semantic/semantic_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/semantic/semantic_test.go -------------------------------------------------------------------------------- /internal/semantic/vector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/semantic/vector.go -------------------------------------------------------------------------------- /internal/semantic/vector_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/semantic/vector_test.go -------------------------------------------------------------------------------- /internal/storage/badger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/storage/badger.go -------------------------------------------------------------------------------- /internal/storage/storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/internal/storage/storage.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/messkan/prompt-cache/HEAD/main.go --------------------------------------------------------------------------------