Skip to content

Commit 6c7f16e

Browse files
authored
Update Cohere client setting (#118)
Adding a single flag parameter that allows Cohere to track traffic from this specific python client.
1 parent 554202c commit 6c7f16e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisvl/utils/vectorize/text/cohere.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(
7979
"Provide it in api_config or set the COHERE_API_KEY environment variable."
8080
)
8181

82-
client = cohere.Client(api_key)
82+
client = cohere.Client(api_key, client_name="redisvl")
8383
dims = self._set_model_dims(client, model)
8484
super().__init__(model=model, dims=dims, client=client)
8585

0 commit comments

Comments
 (0)