modify_model_config
Adjust and update model configurations for AI models, including parameters like version, provider, and API details, to ensure accurate and optimized performance.
Instructions
Modify the model configuration and update the model.
Args: new_model_config: The sample model configuration to be modified. Example usage: { "model_saved_name": "example_model_name", # The name under which the model is saved. "testing_for": "LLM", # The purpose for which the model is being tested. (Always LLM) "model_name": "example_model", # The name of the model. (e.g., gpt-4o, claude-3-5-sonnet, etc.) "modality": "text", # The type of data the model works with (e.g., text, image). "model_config": { "model_version": "1.0", # The version of the model. "model_provider": "example_provider", # The provider of the model. (e.g., openai, anthropic, etc.) "endpoint_url": "https://api.example.com/model", # The endpoint URL for the model. "apikey": "example_api_key", # The API key to access the model. }, } test_model_saved_name: The saved name of the model to be tested.
Returns: A dictionary containing the response message and details of the modified model.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
new_model_config | Yes | ||
test_model_saved_name | Yes |