agent-framework-openai 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,45 @@
1
+ # Copyright (c) Microsoft. All rights reserved.
2
+
3
+ """OpenAI integration for Microsoft Agent Framework.
4
+
5
+ This package provides OpenAI client implementations for the Agent Framework,
6
+ including clients for the Responses API and Chat Completions API.
7
+ """
8
+
9
+ import importlib.metadata
10
+
11
+ from ._chat_client import (
12
+ OpenAIChatClient,
13
+ OpenAIChatOptions,
14
+ OpenAIContinuationToken,
15
+ RawOpenAIChatClient,
16
+ )
17
+ from ._chat_completion_client import (
18
+ OpenAIChatCompletionClient,
19
+ OpenAIChatCompletionOptions,
20
+ RawOpenAIChatCompletionClient,
21
+ )
22
+ from ._embedding_client import OpenAIEmbeddingClient, OpenAIEmbeddingOptions
23
+ from ._exceptions import ContentFilterResultSeverity, OpenAIContentFilterException
24
+ from ._shared import OpenAISettings
25
+
26
+ try:
27
+ __version__ = importlib.metadata.version("agent-framework-openai")
28
+ except importlib.metadata.PackageNotFoundError:
29
+ __version__ = "0.0.0" # Fallback for development mode
30
+
31
+ __all__ = [
32
+ "ContentFilterResultSeverity",
33
+ "OpenAIChatClient",
34
+ "OpenAIChatCompletionClient",
35
+ "OpenAIChatCompletionOptions",
36
+ "OpenAIChatOptions",
37
+ "OpenAIContentFilterException",
38
+ "OpenAIContinuationToken",
39
+ "OpenAIEmbeddingClient",
40
+ "OpenAIEmbeddingOptions",
41
+ "OpenAISettings",
42
+ "RawOpenAIChatClient",
43
+ "RawOpenAIChatCompletionClient",
44
+ "__version__",
45
+ ]