Skip to content

Commit c68d483

Browse files
authored
Merge pull request #35 from BandaruDheeraj/patch-1
Update functions-bindings-openai-assistantcreate-output.md
2 parents 4fed2f0 + 07eb040 commit c68d483

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

articles/azure-functions/functions-bindings-openai-assistantcreate-output.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Azure OpenAI assistant create output binding for Azure Functions
2+
title: Azure OpenAI Assistant Create Output Binding for Azure Functions
33
description: Learn how to use the Azure OpenAI assistant create output binding to create Azure OpenAI assistants from your function code executions.
44
ms.topic: reference
55
ms.date: 05/07/2024
66
zone_pivot_groups: programming-languages-set-functions
77
---
88

9-
# Azure OpenAI assistant create output binding for Azure Functions
9+
# Azure OpenAI Assistant Create Output Binding for Azure Functions
1010

1111
[!INCLUDE [preview-support](../../includes/functions-openai-support-limitations.md)]
1212

@@ -35,22 +35,21 @@ This example demonstrates the creation process, where the HTTP PUT function that
3535

3636
:::code language="csharp" source="~/functions-openai-extension/samples/assistant/csharp-ooproc/AssistantApis.cs" range="20-45":::
3737

38-
### [In-process](#tab/in-process)
38+
<!-- ### [In-process](#tab/in-process)
3939
40-
[!INCLUDE [functions-examples-not-available-note](../../includes/functions-examples-not-available-note.md)]
40+
[!INCLUDE [functions-examples-not-available-note](../../includes/functions-examples-not-available-note.md)] -->
4141

4242
---
4343

4444
::: zone-end
4545
::: zone pivot="programming-language-java"
46-
[!INCLUDE [functions-examples-not-available-note](../../includes/functions-examples-not-available-note.md)]
47-
<!---uncomment when code example is available:
48-
{{This comes from the example code comment}}
46+
<!-- [!INCLUDE [functions-examples-not-available-note](../../includes/functions-examples-not-available-note.md)] -->
47+
48+
This example demonstrates the creation process, where the HTTP PUT function that creates a new assistant chat bot with the specified ID. The response to the prompt is returned in the HTTP response.
49+
50+
:::code language="java" source="~/functions-openai-extension/samples/assistant/java/src/main/java/com/azfs/AssistantApis.java" range="33-58":::
4951

50-
:::code language="java" source="~/functions-openai-extension/samples/{{link to the correct sample.java}}" range="{{named is better than range}}":::
5152

52-
{{Add more examples if available}}
53-
-->
5453
::: zone-end
5554
::: zone pivot="programming-language-javascript"
5655
[!INCLUDE [functions-examples-not-available-note](../../includes/functions-examples-not-available-note.md)]
@@ -71,19 +70,19 @@ This example demonstrates the creation process, where the HTTP PUT function that
7170

7271
::: zone-end
7372
::: zone pivot="programming-language-powershell"
74-
[!INCLUDE [functions-examples-not-available-note](../../includes/functions-examples-not-available-note.md)]
75-
<!---uncomment when code example is available:
76-
{{This comes from the example code comment}}
73+
<!-- [!INCLUDE [functions-examples-not-available-note](../../includes/functions-examples-not-available-note.md)] -->
7774

78-
Here's the _function.json_ file for {{example}}:
75+
This example demonstrates the creation process, where the HTTP PUT function that creates a new assistant chat bot with the specified ID. The response to the prompt is returned in the HTTP response.
76+
77+
Here's the _function.json_ file for Create Assistant:
7978

80-
:::code language="json" source="~/functions-openai-extension/samples/{{link to the correct function.json}}" :::
79+
:::code language="json" source="~/functions-openai-extension/samples/assistant/powershell/CreateAssistant/function.json" :::
8180

8281
For more information about *function.json* file properties, see the [Configuration](#configuration) section.
8382

8483
{{This comes from the example code comment}}
85-
:::code language="powershell" source="~/functions-openai-extension/samples/{{link to the correct sample.ps1}}" :::
86-
-->
84+
:::code language="powershell" source="~/functions-openai-extension/samples/assistant/powershell/CreateAssistant/run.ps1" :::
85+
8786
::: zone-end
8887
::: zone pivot="programming-language-python"
8988
This example demonstrates the creation process, where the HTTP PUT function that creates a new assistant chat bot with the specified ID. The response to the prompt is returned in the HTTP response.
@@ -161,5 +160,5 @@ See the [Example section](#example) for complete examples.
161160
+ [Assistant samples](https://github.com/Azure/azure-functions-openai-extension/tree/main/samples/assistant)
162161
+ [Azure OpenAI extension](functions-bindings-openai.md)
163162
+ [Azure OpenAI assistant trigger](functions-bindings-openai-assistant-trigger.md)
164-
+ [Azure OpenAI assistant query input binding ](functions-bindings-openai-assistantcreate-output.md)
165-
+ [Azure OpenAI assistant post input binding ](functions-bindings-openai-assistantpost-input.md)
163+
+ [Azure OpenAI assistant query input binding](functions-bindings-openai-assistantcreate-output.md)
164+
+ [Azure OpenAI assistant post input binding](functions-bindings-openai-assistantpost-input.md)

0 commit comments

Comments
 (0)