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.0a49.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.0a49-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a49.tar.gz
Algorithm Hash digest
SHA256 dd3c3a2a36a29494839f0e6443edaaf2db13c43fb267715ae0032b10ecd0e123
MD5 491ef3d761ad90a87c6936c6dbc04664
BLAKE2b-256 a1aecf716d2af7ca036aa774083b8488e0234e3c661cccd73d537e73b6e7c561

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a49-py3-none-any.whl
Algorithm Hash digest
SHA256 ca819c272116f7cc6c4f68787f1bdcd7420727076af76ee300ec3fee0988c1d0
MD5 66cad5303785c8be3709c24aac836d43
BLAKE2b-256 9d66b30ce14ad16bae745334ba73edbb4d2cb99fe51bb778f3b2a966677d191e

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