curl --request POST \
--url http://localhost:8080/api/v2/config/resources/embedders \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"provider": "openai",
"config": {
"model": "<string>",
"api_key": "<string>",
"aws_region": "<string>",
"aws_access_key_id": "<string>",
"aws_secret_access_key": "<string>"
}
}
'