Skip to content
Discussion options

You must be logged in to vote

// According to docs, should work:
IChatClient client = chatClient.AsChatClient();

The method from Microsoft.Extension.AI.OpenAI is named AsIChatClient (note the 'I`).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@stephentoub
Comment options

@stephentoub
Comment options

@stephentoub
Comment options

@hexbit2
Comment options

Answer selected by hexbit2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants