Skip to content

Commit 6f8179d

Browse files
authored
Remove in-proc stuff
1 parent a11f019 commit 6f8179d

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

articles/azure-functions/functions-bindings-openai-textcompletion-input.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to use the Azure OpenAI text completion input binding to
44
ms.topic: reference
55
ms.custom:
66
- build-2024
7-
ms.date: 05/08/2024
7+
ms.date: 05/23/2024
88
zone_pivot_groups: programming-languages-set-functions
99
---
1010

@@ -15,24 +15,12 @@ zone_pivot_groups: programming-languages-set-functions
1515
The Azure OpenAI text completion input binding allows you to bring the results text completion APIs into your code executions. You can define the binding to use both predefined prompts with parameters or pass through an entire prompt.
1616

1717
For information on setup and configuration details of the Azure OpenAI extension, see [Azure OpenAI extensions for Azure Functions](./functions-bindings-openai.md). To learn more about Azure OpenAI completions, see [Learn how to generate or manipulate text](../ai-services/openai/how-to/completions.md).
18-
::: zone pivot="programming-language-javascript,programming-language-typescript"
19-
> [!NOTE]
20-
> References and examples are only provided for the [Node.js v4 model](./functions-reference-node.md?pivots=nodejs-model-v4).
21-
::: zone-end
22-
::: zone pivot="programming-language-python"
23-
> [!NOTE]
24-
> References and examples are only provided for the [Python v2 model](functions-reference-python.md?pivots=python-mode-decorators#development-options).
25-
::: zone-end
18+
19+
[!INCLUDE [functions-support-notes-samples-openai](../../includes/functions-support-notes-samples-openai.md)]
2620

2721
## Example
2822

2923
::: zone pivot="programming-language-csharp"
30-
A C# function can be created using one of the following C# modes:
31-
32-
[!INCLUDE [dotnet-execution](../../includes/functions-dotnet-execution-model.md)]
33-
34-
### [Isolated process](#tab/isolated-process)
35-
3624
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.
3725

3826
:::code language="csharp" source="~/functions-openai-extension/samples/textcompletion/csharp-ooproc/TextCompletions.cs" range="23-31":::
@@ -41,12 +29,6 @@ This example takes a prompt as input, sends it directly to the completions API,
4129

4230
:::code language="csharp" source="~/functions-openai-extension/samples/textcompletion/csharp-ooproc/TextCompletions.cs" range="37-46":::
4331

44-
### [In-process](#tab/in-process)
45-
46-
[!INCLUDE [functions-examples-not-available-note](../../includes/functions-examples-not-available-note.md)]
47-
48-
---
49-
5032
::: zone-end
5133
::: zone pivot="programming-language-java"
5234
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

Comments
 (0)