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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a58.tar.gz
Algorithm Hash digest
SHA256 5b59167cb0b2cadcd96655850f478afffebbb8240e7fd32859dd42997324f41b
MD5 2ee92c28c63210011aa44d2289e28cd2
BLAKE2b-256 93913b87e1ef0c8111d1d0b1f285762243ffdcc9d20dfe344be361765beb793b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a58-py3-none-any.whl
Algorithm Hash digest
SHA256 a7b2fe894289927ca22344d109cbbeaff1738dfd228b54676f20c5ce8858f15f
MD5 1766a49b8c5066c10453ce3f79bf419c
BLAKE2b-256 a36c8909a0d7f941a15053b3158e809d5a27d8daebfd637525a0fe4c99ff35ee

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