View source: R/custom_model_manager.R
| register_custom_model | R Documentation |
Register a custom model for a provider
register_custom_model(model_name, provider_name, model_config = list())
model_name |
Unique name for the custom model |
provider_name |
Name of the provider this model belongs to |
model_config |
List of configuration parameters for the model (e.g., temperature, max_tokens) |
Invisible TRUE on success
## Not run:
register_custom_model(
model_name = "my_model",
provider_name = "my_provider",
model_config = list(
temperature = 0.7,
max_tokens = 2000
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.