Skip to main content

model package for enabling chat experiences with openai

Project description

Microsoft Teams OpenAI

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microsoft_teams_openai-2.0.0a18.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microsoft_teams_openai-2.0.0a18-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file microsoft_teams_openai-2.0.0a18.tar.gz.

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a18.tar.gz
Algorithm Hash digest
SHA256 b5185896bc6ab8590ad0f379c2f0932616f06a3bfa7a35cedf5b3354dbf55c91
MD5 08cdfe6d2570beef6639a7f37ec9d150
BLAKE2b-256 2eaca2b11d5fd9ee498688e6d02ecd1892bb6182a3fcc06e41a7571f22040c15

See more details on using hashes here.

File details

Details for the file microsoft_teams_openai-2.0.0a18-py3-none-any.whl.

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a18-py3-none-any.whl
Algorithm Hash digest
SHA256 6ef4e8980790780cc37b084be618fe648f2214abd991c95aad4c95bd148bec91
MD5 a23b01ddb1220b3566ea38ebb7e5cee9
BLAKE2b-256 fdafc397afc2341ca7f0bdc5cbf142e43d4755056dda83cc498eb0830c3e78be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page