1
0
mirror of https://github.com/H0llyW00dzZ/GoGenAI-Terminal-Chat.git synced 2025-02-06 13:50:32 +00:00

41 lines
1.7 KiB
Modula-2
Raw Permalink Normal View History

Start From Zero (#1) * Chore Go Module - [+] chore(go.mod): add go.mod file with required dependencies - [+] chore(go.sum): add go.sum file with checksums of dependencies * Feat [Terminal] Constants - [+] feat(terminal): add constants for terminal package - [+] feat(terminal): add constants for language * Feat [Terminal] Chat Struct - [+] feat(terminal/chat.go): add ChatHistory struct and methods for managing chat history * Chore [Terminal] [Constants] Update Constants - [+] chore(constant.go): add animated chars and model AI constants - [+] docs(constant.go): add comments for animated chars and model AI constants * Feat [Terminal] Initialize Generative AI - [+] feat(terminal/genai.go): add PrintTypingChat function to print characters with a delay - [+] feat(terminal/genai.go): add SendMessage function to send a message to the generative AI model and print the response with typing effect * Feat [Terminal] Initialize Sessions of GenAI - [+] feat(terminal/session.go): add Session struct and NewSession function - [+] feat(terminal/session.go): add Start method to Session struct - [+] feat(terminal/session.go): implement graceful shutdown handling in Start method - [+] feat(terminal/session.go): handle user input and AI response in Start method * Feat [Main Module] Constants - [+] feat(constant.go): add constant for API_KEY and logFatal * Feat [Main] Initialize Main - [+] feat(main.go): add main package and import necessary dependencies - [+] feat(main.go): add main function to start the application - [+] feat(main.go): retrieve API key from environment variable - [+] feat(main.go): create new session using API key - [+] feat(main.go): start the session * Docs [README] Update Documentation - [+] docs(README.md): add features section with subject to add more in future - [+] feat(README.md): add features of terminal-based interaction, session chat history, intelligent shutdown, and realistic typing animation * Feat Github CI - [+] feat(dependabot.yml): add basic dependabot.yml file for Go project using Go modules - [+] feat(CodeQL.yml): add CodeQL workflow for CI/CD and unit testing * Go Docs [Terminal] add documentation - [+] feat(terminal): add terminal package with documentation
2024-01-02 23:42:08 +07:00
module github.com/H0llyW00dzZ/GoGenAI-Terminal-Chat
go 1.22.3
Start From Zero (#1) * Chore Go Module - [+] chore(go.mod): add go.mod file with required dependencies - [+] chore(go.sum): add go.sum file with checksums of dependencies * Feat [Terminal] Constants - [+] feat(terminal): add constants for terminal package - [+] feat(terminal): add constants for language * Feat [Terminal] Chat Struct - [+] feat(terminal/chat.go): add ChatHistory struct and methods for managing chat history * Chore [Terminal] [Constants] Update Constants - [+] chore(constant.go): add animated chars and model AI constants - [+] docs(constant.go): add comments for animated chars and model AI constants * Feat [Terminal] Initialize Generative AI - [+] feat(terminal/genai.go): add PrintTypingChat function to print characters with a delay - [+] feat(terminal/genai.go): add SendMessage function to send a message to the generative AI model and print the response with typing effect * Feat [Terminal] Initialize Sessions of GenAI - [+] feat(terminal/session.go): add Session struct and NewSession function - [+] feat(terminal/session.go): add Start method to Session struct - [+] feat(terminal/session.go): implement graceful shutdown handling in Start method - [+] feat(terminal/session.go): handle user input and AI response in Start method * Feat [Main Module] Constants - [+] feat(constant.go): add constant for API_KEY and logFatal * Feat [Main] Initialize Main - [+] feat(main.go): add main package and import necessary dependencies - [+] feat(main.go): add main function to start the application - [+] feat(main.go): retrieve API key from environment variable - [+] feat(main.go): create new session using API key - [+] feat(main.go): start the session * Docs [README] Update Documentation - [+] docs(README.md): add features section with subject to add more in future - [+] feat(README.md): add features of terminal-based interaction, session chat history, intelligent shutdown, and realistic typing animation * Feat Github CI - [+] feat(dependabot.yml): add basic dependabot.yml file for Go project using Go modules - [+] feat(CodeQL.yml): add CodeQL workflow for CI/CD and unit testing * Go Docs [Terminal] add documentation - [+] feat(terminal): add terminal package with documentation
2024-01-02 23:42:08 +07:00
require (
github.com/google/generative-ai-go v0.19.0 // direct
google.golang.org/api v0.213.0 // direct
)
Start From Zero (#1) * Chore Go Module - [+] chore(go.mod): add go.mod file with required dependencies - [+] chore(go.sum): add go.sum file with checksums of dependencies * Feat [Terminal] Constants - [+] feat(terminal): add constants for terminal package - [+] feat(terminal): add constants for language * Feat [Terminal] Chat Struct - [+] feat(terminal/chat.go): add ChatHistory struct and methods for managing chat history * Chore [Terminal] [Constants] Update Constants - [+] chore(constant.go): add animated chars and model AI constants - [+] docs(constant.go): add comments for animated chars and model AI constants * Feat [Terminal] Initialize Generative AI - [+] feat(terminal/genai.go): add PrintTypingChat function to print characters with a delay - [+] feat(terminal/genai.go): add SendMessage function to send a message to the generative AI model and print the response with typing effect * Feat [Terminal] Initialize Sessions of GenAI - [+] feat(terminal/session.go): add Session struct and NewSession function - [+] feat(terminal/session.go): add Start method to Session struct - [+] feat(terminal/session.go): implement graceful shutdown handling in Start method - [+] feat(terminal/session.go): handle user input and AI response in Start method * Feat [Main Module] Constants - [+] feat(constant.go): add constant for API_KEY and logFatal * Feat [Main] Initialize Main - [+] feat(main.go): add main package and import necessary dependencies - [+] feat(main.go): add main function to start the application - [+] feat(main.go): retrieve API key from environment variable - [+] feat(main.go): create new session using API key - [+] feat(main.go): start the session * Docs [README] Update Documentation - [+] docs(README.md): add features section with subject to add more in future - [+] feat(README.md): add features of terminal-based interaction, session chat history, intelligent shutdown, and realistic typing animation * Feat Github CI - [+] feat(dependabot.yml): add basic dependabot.yml file for Go project using Go modules - [+] feat(CodeQL.yml): add CodeQL workflow for CI/CD and unit testing * Go Docs [Terminal] add documentation - [+] feat(terminal): add terminal package with documentation
2024-01-02 23:42:08 +07:00
require (
cloud.google.com/go v0.116.0 // indirect
cloud.google.com/go/ai v0.8.0 // indirect
cloud.google.com/go/auth v0.13.0 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
cloud.google.com/go/compute/metadata v0.6.0 // indirect
cloud.google.com/go/longrunning v0.6.2 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/s2a-go v0.1.8 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
github.com/googleapis/gax-go/v2 v2.14.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
go.opentelemetry.io/otel v1.29.0 // indirect
go.opentelemetry.io/otel/metric v1.29.0 // indirect
go.opentelemetry.io/otel/trace v1.29.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/net v0.32.0 // indirect
golang.org/x/oauth2 v0.24.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.8.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.2 // indirect
Start From Zero (#1) * Chore Go Module - [+] chore(go.mod): add go.mod file with required dependencies - [+] chore(go.sum): add go.sum file with checksums of dependencies * Feat [Terminal] Constants - [+] feat(terminal): add constants for terminal package - [+] feat(terminal): add constants for language * Feat [Terminal] Chat Struct - [+] feat(terminal/chat.go): add ChatHistory struct and methods for managing chat history * Chore [Terminal] [Constants] Update Constants - [+] chore(constant.go): add animated chars and model AI constants - [+] docs(constant.go): add comments for animated chars and model AI constants * Feat [Terminal] Initialize Generative AI - [+] feat(terminal/genai.go): add PrintTypingChat function to print characters with a delay - [+] feat(terminal/genai.go): add SendMessage function to send a message to the generative AI model and print the response with typing effect * Feat [Terminal] Initialize Sessions of GenAI - [+] feat(terminal/session.go): add Session struct and NewSession function - [+] feat(terminal/session.go): add Start method to Session struct - [+] feat(terminal/session.go): implement graceful shutdown handling in Start method - [+] feat(terminal/session.go): handle user input and AI response in Start method * Feat [Main Module] Constants - [+] feat(constant.go): add constant for API_KEY and logFatal * Feat [Main] Initialize Main - [+] feat(main.go): add main package and import necessary dependencies - [+] feat(main.go): add main function to start the application - [+] feat(main.go): retrieve API key from environment variable - [+] feat(main.go): create new session using API key - [+] feat(main.go): start the session * Docs [README] Update Documentation - [+] docs(README.md): add features section with subject to add more in future - [+] feat(README.md): add features of terminal-based interaction, session chat history, intelligent shutdown, and realistic typing animation * Feat Github CI - [+] feat(dependabot.yml): add basic dependabot.yml file for Go project using Go modules - [+] feat(CodeQL.yml): add CodeQL workflow for CI/CD and unit testing * Go Docs [Terminal] add documentation - [+] feat(terminal): add terminal package with documentation
2024-01-02 23:42:08 +07:00
)