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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a31.tar.gz
Algorithm Hash digest
SHA256 833412cf711daa1d996426269b6f1355af725644211eb2780563e456628570c9
MD5 106d4ee53d61f0f379fdc0706b08ca14
BLAKE2b-256 88b9c81d354129476464f127022809a189ec97cc0d3bcf8d03e316114b668c99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a31-py3-none-any.whl
Algorithm Hash digest
SHA256 3ccd7e77c51e2d1750f102293e84e0942178bdcf6a811acc95a50385ee3003fe
MD5 abb82e38a34c9d99a39230523e911a5c
BLAKE2b-256 6315ca161fbc55f303fbdd8f03b98e786824c389f07842f333af54b4c8cea636

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