You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a complete set of working .NET examples, see the [Kafka extension repository](https://github.com/Azure/azure-functions-kafka-extension/blob/dev/samples/dotnet/Confluent/).
51
51
52
52
# [Event Hubs](#tab/event-hubs/in-process)
53
53
54
54
The following example shows a C# function that sends a single message to a Kafka topic, using data provided in HTTP GET request.
For a complete set of working .NET examples, see the [Kafka extension repository](https://github.com/Azure/azure-functions-kafka-extension/blob/dev/samples/dotnet/EventHub).
67
67
68
68
# [Confluent](#tab/confluent/isolated-process)
69
69
70
70
The following example has a custom return type that is `MultipleOutputType`, which consists of an HTTP response and a Kafka output.
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-bindings-openai-textcompletion-input.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,11 @@ The code simply returns the text from the completion API as the response:
68
68
::: zone pivot="programming-language-python"
69
69
This example demonstrates the _templating_ pattern, where the HTTP trigger function takes a `name` parameter and embeds it into a text prompt, which is then sent to the Azure OpenAI completions API by the extension. The response to the prompt is returned in the HTTP response.
0 commit comments