Skip to content

Commit

Permalink
Update api_key name
Browse files Browse the repository at this point in the history
Co-authored-by: Alvaro Bartolome <[email protected]>
  • Loading branch information
plaguss and alvarobartt authored Jan 5, 2024
1 parent 602a9eb commit ec94500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distilabel/llm/anyscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(
model (str, optional): the model to be used for generation. Defaults to "HuggingFaceH4/zephyr-7b-beta".
client (Union[OpenAI, None], optional): an OpenAI client to be used for generation.
If `None`, a new client will be created. Defaults to `None`.
openai_api_key (Union[str, None], optional): the OpenAI API key to be used for generation.
api_key (Union[str, None], optional): the Anyscale API key to be used for generation.
If `None`, the `OPENAI_API_KEY` environment variable will be used. Defaults to `None`.
Visit "https://docs.endpoints.anyscale.com/guides/authenticate/" for more information.
max_new_tokens (int, optional): the maximum number of tokens to be generated.
Expand Down

0 comments on commit ec94500

Please sign in to comment.