powered by
Register a custom model for a provider
register_custom_model(model_name, provider_name, model_config = list())
Invisible TRUE on success
Unique name for the custom model
Name of the provider this model belongs to
List of configuration parameters for the model (e.g., temperature, max_tokens)
if (FALSE) { register_custom_model( model_name = "my_model", provider_name = "my_provider", model_config = list( temperature = 0.7, max_tokens = 2000 ) ) }
Run the code above in your browser using DataLab