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

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.0a5.tar.gz (8.4 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.0a5-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a5.tar.gz
Algorithm Hash digest
SHA256 f0a0884b84deba1803fe035f5a92dc98e045df841259ba13b34610a8cf344680
MD5 a2ee3dadaff57ae0fd8f6a1fc50093d9
BLAKE2b-256 224d95a99c1a2bc5bf83ec2e0f7b84258868546adda25382325dd6956581ebd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 5f5fab156ec6463ac66c574f708d9a657a680a0082893329e92f5e4750fbca63
MD5 0e46728657c2155fcd26fedf776af7bb
BLAKE2b-256 5b1703b197f0e0d940791a61983c0f13a1fa4204a868e87001bf9cbc879aa458

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