Skip to content

Conversation

@Josephasafg
Copy link
Contributor

No description provided.

@Josephasafg Josephasafg requested a review from miri-bar June 13, 2024 14:36
@Josephasafg Josephasafg merged commit 6115632 into main Jun 13, 2024
@Josephasafg Josephasafg deleted the azure_client_sdk_support branch June 13, 2024 14:57

client = AI21AzureClient(
base_url="https://your-endpoint.inference.ai.azure.com/v1/chat/completions",
api_key="<your api key>",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe
base_url="https://<YOUR_ENDPOINT>.inference.ai.azure.com/v1/chat/completions",
api_key="<YOUR_API_KEY>",

A few questions:

  1. Is it clear what "your endpoint" is, and where they can get it?
  2. Is the API key the AI21 API key, from the playground, or a different key determined by Azure? It would be good to clarify that here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants