Javascript
import Morphik from 'morphik'; const client = new Morphik({ apiKey: 'My API Key', }); const modelConfigResponse = await client.modelConfig.create({ config_data: {}, provider: 'provider' }); console.log(modelConfigResponse.id);
{ "id": "<string>", "provider": "<string>", "config_data": {}, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Create a new model configuration.
Request model for creating a model configuration.
Successful Response
Response model for model configuration.
Was this page helpful?