Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
Microsoft Teams OpenAI
[!WARNING] Deprecated — This package was originally in preview, but we have decided to stop maintaining it before General Availability. We recommend using the official OpenAI Python SDK instead, which provides better long-term support for OpenAI integrations.
OpenAI model implementations for Microsoft Teams AI applications. Supports OpenAI and OpenAI-compatible APIs for chat completions and embeddings.
Installation
pip install microsoft-teams-openai
Or if using uv:
uv add microsoft-teams-openai
Usage
from microsoft_teams.openai import OpenAICompletionsAIModel
from microsoft_teams.ai import ChatPrompt
model = OpenAICompletionsAIModel(api_key="your-api-key", model="gpt-4")
prompt = ChatPrompt(model)
Release files for microsoft-teams-openai 2.0.0a78
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| microsoft_teams_openai-2.0.0a78.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| microsoft_teams_openai-2.0.0a78-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 kB
Release files / microsoft_teams_openai-2.0.0a78.tar.gz
| Download URL | microsoft_teams_openai-2.0.0a78.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e052753504e6ad80ab7e503840b237d06519fa56b8f311a560274285547b8112
|
|
BLAKE2b-256 checksum How to use checksums |
81a31a68a40934bddf0c4174fcd2ca91e69d9dad7461d8be229ac94df773bb35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / microsoft_teams_openai-2.0.0a78-py3-none-any.whl
| Download URL | microsoft_teams_openai-2.0.0a78-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b549ec838b5283ad6bb072e248b7f347eee9cfb572365ba636c6cc9d6cccd3e
|
|
BLAKE2b-256 checksum How to use checksums |
ff5b64165a4be447b14d3fa477b3d07400edc0fe114574558bc75e1f2f8384ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|