popsiclexu
7540e0084e
feat: add custom restful backend for complex scenarios (e.g, rag) ( #1228 )
...
* feat: add custom restful backend for complex scenarios (e.g, rag)
Signed-off-by: popsiclexu <zhenxuexu@gmail.com >
* chore: rebased
chore: removed trivy
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: updated deps
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
* chore: resolved issues
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
---------
Signed-off-by: popsiclexu <zhenxuexu@gmail.com >
Signed-off-by: popsiclexu <ZhenxueXu@gmail.com >
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
Co-authored-by: popsiclexu <zhenxue.xu@mthreads.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2025-03-17 12:21:38 +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
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
Aris Boutselis
02e754ed59
feat: add custom http headers to openai related api backends ( #1174 )
...
* feat: add custom http headers to openai related api backends
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* ci: add custom headers test
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* add error handling
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* chore(deps): update docker/setup-buildx-action digest to 4fd8129 (#1173 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* fix(deps): update module buf.build/gen/go/k8sgpt-ai/k8sgpt/grpc-ecosystem/gateway/v2 to v2.20.0-20240406062209-1cc152efbf5c.1 (#1147 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* chore(deps): update anchore/sbom-action action to v0.16.0 (#1146 )
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
* Update README.md
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
---------
Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com >
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-07-10 09:59:08 +01:00
Kay Yan
b35dbd9b09
feat: add Ollama backend ( #1065 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2024-07-03 21:16:06 +01:00
Jin Song Wang
ce63821beb
feat: add watsonx ai provider ( #1163 )
...
Signed-off-by: JINSONG WANG <jswang@ibm.com >
2024-07-01 10:20:44 +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
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
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
Tanuj Dwivedi
307710eddc
feat: add proxysettings for azureopenai and openai ( #987 )
...
Signed-off-by: tanujd11 <dwiveditanuj41@gmail.com >
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2024-02-28 16:10:42 +00:00
JuHyung Son
2fd476e126
feat: add huggingface provider ( #893 )
...
* feat: add huggingface ai provider
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* chore: update readme
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
* fix: set huggingface maxtokens default to 500, use ptr instead of pointer
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
---------
Signed-off-by: JuHyung-Son <sonju0427@gmail.com >
2024-01-28 15:41:49 +00:00
Matthis
5c17c24055
feat: unify aiClientName const for all providers ( #848 )
2024-01-07 13:01:15 +01: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
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
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
Maxime Brunet
781ecb7aad
feat: add Cohere backend ( #563 )
...
Signed-off-by: Maxime Brunet <max@brnt.mx >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-07-19 18:25:27 +01:00
Peter Pan
c85203bccd
chore: customized prompt template for integration plugins ( #403 )
...
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-06-12 21:14:12 +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
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
a1aaa0a2d1
Merge branch 'main' into local_models
2023-04-25 09:56:04 +02:00
Patrick Pichler
7eddb8f4a6
feat: use OS conform path for storing cached results
...
Instead of storing cached values in the config yaml, they are now stored
under these OS specific locations:
* Linux: `~/.cache/k8sgpt`
* MacOS: `~/Library/Caches`
* Windows: `%LocalAppData%\cache`
Additionally a `Cache` package and interface has been introduced.
Currently there are two implementations:
* Noop - Doesn't do anything
* FileBased - Stores data in files under the locations listed above
fixes #323
Signed-off-by: Patrick Pichler <git@patrickpichler.dev >
2023-04-24 19:07:54 +02:00
mudler
9b914fbc0b
feat: add LocalAI backend
...
Signed-off-by: mudler <mudler@mocaccino.org >
2023-04-24 10:09:30 +02: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
Aris Boutselis
84a3cc05fb
feat: add configuration interface to support customer providers
...
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
2023-04-20 16:26:12 +01:00
Thomas Schuetz
e449cb6023
chore: add fakeai provider ( #218 )
...
* chore: add fakeai provider
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* chore: add fakeai provider
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: name of openai provider
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: renamed fakeai backend to noopai
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: renamed fakeai backend to noopai
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
---------
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-06 21:10:01 +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
Thomas Schuetz
0195bfab30
chore: analyzer and ai interfacing ( #200 )
...
* chore: analyzer and ai interfacing
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: backend variable for aiProvider in cmd
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: changed folders for analyzers
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* chore: renamed analyzers
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: fixed ingress tests after rebase
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: fixed ingress tests after rebase
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
---------
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-05 08:40:12 +02:00
AlexsJones
c3008c5e75
feat: addition of simple language support
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2023-03-27 20:15:35 +01:00
Alex Jones
bdb2e739d4
interfaced out ai clients
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-03-24 12:01:36 +00:00