feat: add sambanova component (#4908)

* feat: add sambanova component

* update param name

* add multimodal models

* feat: add sambanova icon

* feat: add sambanova

* feat: format

* feat: add sambanova import

* feat: add sambanova

* feat: add sambanova docs
This commit is contained in:
Luis Felipe Salazar Ucros 2024-11-28 07:05:32 -05:00 committed by GitHub
commit cfc5365b73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 157 additions and 0 deletions

View file

@ -333,6 +333,29 @@ For more information, see [Perplexity documentation](https://perplexity.ai/).
|--------|---------------|-----------------------------------------------------|
| model | LanguageModel | An instance of ChatPerplexity configured with the specified parameters. |
## SambaNova
This component generates text using SambaNova LLMs.
For more information, see [Sambanova Cloud documentation](https://cloud.sambanova.ai/).
### Parameters
#### Inputs
| Name | Type | Description |
|---------------------|---------------|------------------------------------------------------------------|
| sambanova_url | String | Base URL path for API requests. Default: "https://api.sambanova.ai/v1/chat/completions". |
| sambanova_api_key | SecretString | Your SambaNova API Key. |
| model_name | String | The name of the Sambanova model to use. Options include various Llama models. |
| max_tokens | Integer | The maximum number of tokens to generate. Set to 0 for unlimited tokens. |
| temperature | Float | Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.07. |
#### Outputs
| Name | Type | Description |
|-------|---------------|------------------------------------------------------------------|
| model | LanguageModel | An instance of SambaNova model configured with the specified parameters. |
## VertexAI
This component generates text using Vertex AI LLMs.