https://github.com/chadnpc/clihelper.gemini
Google Gemini powershell module.
https://github.com/chadnpc/clihelper.gemini
aichatbot google-gemini
Last synced: about 1 month ago
JSON representation
Google Gemini powershell module.
- Host: GitHub
- URL: https://github.com/chadnpc/clihelper.gemini
- Owner: chadnpc
- License: wtfpl
- Created: 2024-12-08T00:46:17.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-26T08:28:57.000Z (4 months ago)
- Last Synced: 2025-02-10T01:31:39.905Z (3 months ago)
- Topics: aichatbot, google-gemini
- Language: PowerShell
- Homepage: https://www.powershellgallery.com/packages/cliHelper.gemini/
- Size: 143 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Pwsh> [](https://www.powershellgallery.com/packages/cliHelper.gemini)
PowerShell module for google 's Gemini.
#### Usage
```PowerShell
Import-Module cliHelper.gemini
$g = [Gemini]::new()
$g.Chat()
```then
⤷ Example with gemini-1.5-flash-8b:
https://github.com/user-attachments/assets/f0f36752-6a61-4bf0-9bd6-b3ee3906308e
❯ Note.: The goal of this module is not to be a chatbot, rather it's to provide
cmdlets that brings the power of google gemini to other modules. Example:
generating fileContents, Names, etc.
❯ For more usage read the [docs](/docs/Readme.md). Its straightforward!
#### Features : Work in progress
- [x] Chat()
- [x] Get response works fine.
- [x] TokenUsage & estimation
- [ ] GetOfflineResponse()
- [x] Custom resume actions based on [FinishReason]
- [ ] Public functions
- [x] Get-GeminiModels
- [ ] Get-GeminiTokenUsage
- [ ] Private functions
- [ ] Invoke-GeminiRequest
## License
This project is licensed under the [WTFPL License](LICENSE).