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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a50.tar.gz
Algorithm Hash digest
SHA256 b75ccfa85c5425572f9e5d75b3dfcbfa5edfb15107c92b82c00884a6faec976a
MD5 3acdc2208faf9e2ddf682541376c568b
BLAKE2b-256 47158f708983631ca06d4f8d70edd10d4626900a845b108f24cf02d693a20368

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a50-py3-none-any.whl
Algorithm Hash digest
SHA256 d72f521e231f5dba8d262346a7a83291c757bc4d43116903dcfe8310ed527d52
MD5 1a942b1c603afc5ec44d8341664f69c8
BLAKE2b-256 f8b11fac68418da178ae88c07ab5c97b7fd4e4e33a6a89695d0cbdcea7225a22

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