100daysofdevops
4e39cb65b3
fix(deps): update default model to gpt-4o for improved performance and cost efficiency ( #1332 )
...
* fix: update OpenAI API key generation URL to reflect new platform link
Updated the outdated URL 'https://beta.openai.com/account/api-keys ' to the current OpenAI API key generation page 'https://platform.openai.com/account/api-keys '.
This resolves the issue where users were directed to an incorrect URL when generating an OpenAI API key.
Signed-off-by: 100daysofdevops <47483190+100daysofdevops@users.noreply.github.com >
* fix(deps):Add transition plan for GPT-3.5 Turbo to GPT-4o
- A comprehensive comparison of GPT-3.5 Turbo and GPT-4o models, focusing on performance and cost improvements.
- Documentation updates highlighting the planned deprecation of gpt-3.5-turbo-0301 on February 13, 2025.
- Clear migration guidelines for transitioning to GPT-4o or GPT-4o mini to ensure service continuity.
Signed-off-by: 100daysofdevops <47483190+100daysofdevops@users.noreply.github.com >
---------
Signed-off-by: 100daysofdevops <47483190+100daysofdevops@users.noreply.github.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2025-03-11 20:58:21 +00:00
Guangya Liu
5ff6dc9be5
fix: rename watsonxai to ibmwatsonxai ( #1234 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-09-24 21:58:01 +01:00
Guangya Liu
644581f495
fix: disable adding multiple openai provider ( #1191 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Co-authored-by: Matthis <matthish29@gmail.com >
2024-08-20 15:52:44 +02:00
Guangya Liu
d702209941
fix: enabled auth add support watsonx backend ( #1190 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Matthis <matthish29@gmail.com >
2024-08-20 09:35:45 +02:00
Guangya Liu
391a3cd5ad
fix: auth update throw out exception ( #1193 )
...
Signed-off-by: Guangya Liu <gyliu@ibm.com >
Co-authored-by: Matthis <matthish29@gmail.com >
2024-07-18 16:49:51 +01:00
JuHyung Son
4867d39c66
feat: support openai organization Id ( #1133 )
...
* feat: add organization flag
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* feat: add orgId on openai backend
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
---------
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-06-14 08:39:56 +01:00
Rui Chen
e261c09889
fix: remove shorthand flag for topp option in add command ( #1115 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2024-05-20 09:06:35 +01:00
Anders Swanson
047afd46d6
feat: oci genai ( #1102 )
...
Signed-off-by: Anders Swanson <anders.swanson@oracle.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-05-16 15:44:41 +01:00
Vaibhav Malik
eda52312ae
feat: implement Top-K sampling for improved user control ( #1110 )
...
This commit adds Top-K sampling, a feature that allows users to control
the randomness of the generated text by specifying the number of most
probable next words considered by the model. This enhances user control
and potentially improves the quality of the generated outputs.
Fixes: https://github.com/k8sgpt-ai/k8sgpt/issues/1105
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-05-16 15:41:07 +01:00
Kay Yan
9e0263778f
fix: remove show password in auth list ( #1061 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-04-16 07:20:20 +01:00
Alex Jones
8f8f5c6df7
chore: allows an environmental override of the default AWS region and… ( #1025 )
...
* chore: allows an environmental override of the default AWS region and using it for bedrock
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: missing provider region
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2024-03-22 10:19:11 +00:00
Mario
55ac0b2129
feat: add Google Vertex AI as provider to utilize gemini via GCP ( #984 )
...
* feat: add Google Vertex AI as provider to utilize gemini via GCP
Signed-off-by: Mario Fahlandt <mfahlandt@pixel-haufen.de >
* fix: adjust providerId description
Signed-off-by: Mario Fahlandt <mfahlandt@pixel-haufen.de >
---------
Signed-off-by: Mario Fahlandt <mfahlandt@pixel-haufen.de >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
2024-03-11 07:33:29 +00:00
Bartlomiej Plotka
e7d41496dd
feat: added Google GenAI client; simplified IAI/clients API surface. ( #829 )
...
* refactor: Simplified IAI; made caching and processing consisent.
Signed-off-by: bwplotka <bwplotka@gmail.com >
* feat: Added Google AI API e.g. for Gemini models.
Signed-off-by: bwplotka <bwplotka@gmail.com >
---------
Signed-off-by: bwplotka <bwplotka@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com >
2024-01-05 06:53:36 +01:00
Pavel Sturc
9dadd186c8
feat: auth remove: add -b flag ( #711 )
...
* feat: auth remove: add -b flag
Signed-off-by: Pavel Sturc <psturc@redhat.com >
* fix: address comment
Signed-off-by: Pavel Sturc <psturc@redhat.com >
---------
Signed-off-by: Pavel Sturc <psturc@redhat.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-11-10 14:15:24 -06:00
Ajay Kemparaj
120027e3cb
deps: bump docker fixes CVE GHSA-jq35-85cj-fj4p ( #733 )
...
Signed-off-by: ajayk <ajaykemparaj@gmail.com >
2023-11-07 15:47:39 -06:00
DKuroczko
ccef7f6170
feat: amazonsagemaker AI provider ( #731 )
...
* feat(amazonsagemaker): Add AmazonSageMaker AI provider
Co-authored-by: NAME 18630245+zaremb@users.noreply.github.com
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* feat(amazonsagemaker): Add AmazonSageMaker AI provider
Co-authored-by: Mateusz Zaremba <18630245+zaremb@users.noreply.github.com >
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* feat(auth): add top p and max tokens to auth and use them in sagemaker backend
Signed-off-by: Mateusz Zaremba <18630245+zaremb@users.noreply.github.com >
* feat: Updates SageMaker docs, validate topP, ident
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* feat: list of passwordlessProviders
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* feat: returns err
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
* fix: remove log.Fatal(err)
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
---------
Signed-off-by: Damian Kuroczko <7778327+dkuroczk@users.noreply.github.com >
Signed-off-by: Mateusz Zaremba <18630245+zaremb@users.noreply.github.com >
Co-authored-by: Mateusz Zaremba <18630245+zaremb@users.noreply.github.com >
2023-11-05 20:03:40 +00:00
StevenSu
f1a7801e9e
feat: add amazonbedrock ( #718 )
...
* add amazonbedrock AI provider
Signed-off-by: Su Wei <suwei007@gmail.com >
* add amazonbedrock, change model list to const var
Signed-off-by: Su Wei <suwei007@gmail.com >
* update iai config and auth cmd, add providerRegion
Signed-off-by: Wei Su <wsuam@amazon.com >
* fix filename wrong
Signed-off-by: Wei Su <wsuam@amazon.com >
* chore: added some doc info
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Su Wei <suwei007@gmail.com >
Signed-off-by: Wei Su <wsuam@amazon.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Wei Su <wsuam@amazon.com >
Co-authored-by: Aris Boutselis <aris.boutselis@senseon.io >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-10-28 11:49:09 +01:00
Alex Jones
2a34ff24d1
chore: fixing default model issue ( #702 )
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-10-11 19:52:47 +01:00
Alex Jones
85ce557681
fix: security warning around printing provider details in https://github.com/k8sgpt-ai/k8sgpt/security/code-scanning/1 ( #695 )
2023-10-03 11:01:33 +01:00
Jian Zhang
7461a748f8
fix: use default values when adding auth ( #568 )
...
The `auth add` cmd should use `backend` and `model` default values when user doesn't specify them
Closes : #567
Signed-off-by: Jian Zhang <jiazha@redhat.com >
Co-authored-by: Thomas Schuetz <38893055+thschue@users.noreply.github.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-09-19 20:17:19 +01:00
Peter Pan
f55946d60e
feat: openAI explicit value for maxToken and temperature ( #659 )
...
* feat: openAI explicit value for maxToken and temp
Because when k8sgpt talks with vLLM, the default MaxToken is 16,
which is so small.
Given the most model supports 2048 token(like Llama1 ..etc), so
put here for a safe value.
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
* feat: make temperature a flag
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
---------
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
2023-09-18 13:14:43 +01:00
Alexandre Steppé
da750df16b
fix: typo in add command ( #539 )
...
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-07-04 12:55:06 +01:00
Alexandre Steppé
2309b0dfe2
feat: details flag to list command ( #537 )
...
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-07-03 11:47:38 +01:00
Rakshit Gondwal
5a983c4a0a
fix: remove provider from default on delete ( #529 )
...
Signed-off-by: Rakshit Gondwal <rakshitgondwal3@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-06-29 16:05:43 +01:00
Alexandre Steppé
01aeeb35e2
feat: add update to auth cmd ( #450 )
...
* added update.go + fixed typos
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
* updated readme
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
* fixed default values
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
* fixed typo
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
---------
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-06-13 12:28:00 +01:00
Alex Jones
948dae5e28
feat: caching ( #439 )
...
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: s3 based caching
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: s3 based caching
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* updated README.md
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* update README.md
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* updated README.md
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: region is a must have
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: clarified remove command
* updated remove.go
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: test fmt causing issues will open another pr
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-05-19 09:32:01 +01:00
Matthis
c659a875fc
feat: rework auth commands ( #438 )
...
* feat: rename "auth new" to "auth add"
This change allows to be more consistent with the rest of the code
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: rework "auth remove" to be more consistent with other remove commands like "filters remove"
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: update documentation
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-05-18 16:50:29 +02:00
Matthis
af826d500f
fix: missing validation for backend option in remove command ( #429 )
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-05-16 12:54:53 +01:00
Alex Jones
cbe2fb4a4c
feat: added the ability to set a user default AI provider ( #427 )
...
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: added the ability to set a user default AI provider
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: added provider to json output
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
---------
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-05-16 13:31:19 +02:00
Aris Boutselis
aafe669739
fix: update engine's cmd flag to match the new cli layout ( #400 )
...
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-05-15 06:46:06 +01:00
Peter Pan
ed73485d92
chore: make go-lint happy ( #405 )
...
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
2023-05-12 12:24:30 +01:00
Matthis
c5b72eee16
feat: add remove command to remove a backend AI provider ( #395 )
...
* feat: add remove command to remove a backend AI provider
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* Update cmd/auth/remove.go
Co-authored-by: Alex Jones <alex@k8sgpt.ai >
Signed-off-by: Matthis <99146727+matthisholleville@users.noreply.github.com >
* feat: update Long remove command
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
Signed-off-by: Matthis <99146727+matthisholleville@users.noreply.github.com >
Co-authored-by: Alex Jones <alex@k8sgpt.ai >
2023-05-11 08:05:25 +01:00
Alexandre Steppé
00aaae86d8
feat: add auth commands ( #369 )
...
* feat: adding commands to auth
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
* fix: fixing new backend password
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
* fix: fixing missing func in iai
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
* added engine + updated readme
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
---------
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
2023-05-05 09:26:31 +01:00
Aris Boutselis
d8357ceb94
feat: add azure openai provider ( #309 )
...
* feat: add azure openai provider
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
* feat: validate backend name
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
* fix: remove BaseURL from the mandatory env variables
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix: conflicts
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
* chore: updated logo (#365 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* chore: added changing banners (#367 )
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
* feat: add additionalLabels to Service Monitor (#366 )
* feat: add additionalLabels to Service Monitor
Signed-off-by: Brad McCoy <bradmccoydev@gmail.com >
* feat: update additionalLabels
Signed-off-by: Brad McCoy <bradmccoydev@gmail.com >
---------
Signed-off-by: Brad McCoy <bradmccoydev@gmail.com >
* fix: update README file's ai provider section.
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
---------
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Brad McCoy <bradmccoydev@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Brad McCoy <bradmccoydev@gmail.com >
2023-05-02 21:28:15 +01:00
Aris Boutselis
74d9a750ca
feat: don't ask for password if backend is localai
...
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
2023-04-25 20:45:04 +03:00
Ettore Di Giacinto
cf797a6eb6
feat: allow to set a baseurl ( #310 )
...
* feat: allow to set a baseURL for OpenAI providers
This allows to run local models that have a compatible OpenAI API, or
for instance use a proxy.
Signed-off-by: mudler <mudler@mocaccino.org >
* feat: allow to set baseURL in the auth subcommand
Signed-off-by: mudler <mudler@mocaccino.org >
---------
Signed-off-by: mudler <mudler@mocaccino.org >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Co-authored-by: Matthis <99146727+matthisholleville@users.noreply.github.com >
2023-04-21 19:04:34 +00:00
Thomas Schuetz
d0f7a1105f
chore: change license to Apache-2 ( #313 )
...
* chore: change license to Apache-2
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-21 19:46:31 +02:00
Matthis Holleville
9b243cdcaa
feat: add support for new configuration format
...
This commit adds support for a new configuration format that is not backwards compatible with the previous format. This is a breaking change and requires users to update their configuration files to use the new format.
BREAKING CHANGE: The format of the configuration file has changed. Users must update their configuration files to use the new format.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-05 09:39:21 +02:00
HOLLEVILLE Matthis
075a940d2c
feat: add password flag for backend authentication ( #199 )
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-03 10:12:59 +02:00
Alexandre Steppé
be061da5b6
feat: output selected backend ( #153 )
...
Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com >
2023-03-30 13:37:10 +02:00
AlexsJones
80a99757f9
fixes a nasty bug
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2023-03-24 14:19:16 +00:00
Alex Jones
c8385531e6
updated
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-03-24 12:33:59 +00:00
Alex Jones
1a486d4532
support for multi auth
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-03-24 12:12:22 +00:00
Alex Jones
bdb2e739d4
interfaced out ai clients
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-03-24 12:01:36 +00:00
AlexsJones
a5846b08ba
tidying up files
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2023-03-24 10:57:33 +00:00
Alex Jones
ca5e0fab21
Revert "chore: tidying"
2023-03-24 10:55:37 +00:00
AlexsJones
5359d8ccfb
tidying up files
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2023-03-24 10:54:20 +00:00
AlexsJones
59a0507e37
first
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2023-03-21 11:56:05 +00:00