├── .gitignore ├── LICENSE ├── README.md ├── bot.go ├── bot_test.go ├── cmd └── gptbot │ ├── README.md │ ├── endpoint.go │ ├── gradio │ ├── gradio.png │ ├── requirements.txt │ └── ui.py │ ├── http.go │ ├── http_client.go │ ├── main.go │ ├── oas2.go │ ├── service.go │ ├── swagger.yaml │ └── wikipedia_gpt3.txt ├── docs └── architecture.png ├── encoder.go ├── engine.go ├── entity.go ├── example_test.go ├── feeder.go ├── feeder_test.go ├── go.mod ├── go.sum ├── milvus ├── README.md ├── docker-compose.yml ├── milvus.go └── milvus_test.go ├── preprocessor.go ├── preprocessor_test.go ├── testdata └── olympics_sections.json ├── vectorstore.go └── vectorstore_test.go /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/README.md -------------------------------------------------------------------------------- /bot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/bot.go -------------------------------------------------------------------------------- /bot_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/bot_test.go -------------------------------------------------------------------------------- /cmd/gptbot/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/README.md -------------------------------------------------------------------------------- /cmd/gptbot/endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/endpoint.go -------------------------------------------------------------------------------- /cmd/gptbot/gradio/gradio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/gradio/gradio.png -------------------------------------------------------------------------------- /cmd/gptbot/gradio/requirements.txt: -------------------------------------------------------------------------------- 1 | gradio 2 | requests 3 | -------------------------------------------------------------------------------- /cmd/gptbot/gradio/ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/gradio/ui.py -------------------------------------------------------------------------------- /cmd/gptbot/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/http.go -------------------------------------------------------------------------------- /cmd/gptbot/http_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/http_client.go -------------------------------------------------------------------------------- /cmd/gptbot/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/main.go -------------------------------------------------------------------------------- /cmd/gptbot/oas2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/oas2.go -------------------------------------------------------------------------------- /cmd/gptbot/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/service.go -------------------------------------------------------------------------------- /cmd/gptbot/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/swagger.yaml -------------------------------------------------------------------------------- /cmd/gptbot/wikipedia_gpt3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/cmd/gptbot/wikipedia_gpt3.txt -------------------------------------------------------------------------------- /docs/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/docs/architecture.png -------------------------------------------------------------------------------- /encoder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/encoder.go -------------------------------------------------------------------------------- /engine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/engine.go -------------------------------------------------------------------------------- /entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/entity.go -------------------------------------------------------------------------------- /example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/example_test.go -------------------------------------------------------------------------------- /feeder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/feeder.go -------------------------------------------------------------------------------- /feeder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/feeder_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/go.sum -------------------------------------------------------------------------------- /milvus/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/milvus/README.md -------------------------------------------------------------------------------- /milvus/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/milvus/docker-compose.yml -------------------------------------------------------------------------------- /milvus/milvus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/milvus/milvus.go -------------------------------------------------------------------------------- /milvus/milvus_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/milvus/milvus_test.go -------------------------------------------------------------------------------- /preprocessor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/preprocessor.go -------------------------------------------------------------------------------- /preprocessor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/preprocessor_test.go -------------------------------------------------------------------------------- /testdata/olympics_sections.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/testdata/olympics_sections.json -------------------------------------------------------------------------------- /vectorstore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/vectorstore.go -------------------------------------------------------------------------------- /vectorstore_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/go-aie/gptbot/HEAD/vectorstore_test.go --------------------------------------------------------------------------------