diff --git a/.gitignore b/.gitignore index e1c2d340ff..154f424daf 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ common/build/ ml-algorithms/build/ plugin/build/ .DS_Store +*/bin/ diff --git a/docs/remote_inference_blueprints/cohere_connector_embedding_blueprint.md b/docs/remote_inference_blueprints/cohere_connector_embedding_blueprint.md index 901b257eb5..b6d07440f9 100644 --- a/docs/remote_inference_blueprints/cohere_connector_embedding_blueprint.md +++ b/docs/remote_inference_blueprints/cohere_connector_embedding_blueprint.md @@ -24,7 +24,9 @@ POST /_plugins/_ml/connectors/_create "headers": { "Authorization": "Bearer ${credential.cohere_key}" }, - "request_body": "{ \"texts\": ${parameters.texts}, \"truncate\": \"${parameters.truncate}\", \"model\": \"${parameters.model}\" }" + "request_body": "{ \"texts\": ${parameters.texts}, \"truncate\": \"${parameters.truncate}\", \"model\": \"${parameters.model}\" }", + "pre_process_function": "connector.pre_process.cohere.embedding", + "post_process_function": "connector.post_process.cohere.embedding" } ] }