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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a17.tar.gz
Algorithm Hash digest
SHA256 e8f1a30e59a2bebdb435854ab30e9f430e163e077f9fd33c229b205cc56bb9d4
MD5 c0d9ebe8c8965cdba85a105056ccb5d2
BLAKE2b-256 be3aadf3325fa8b828d8fd95a3e653d2bd276508c8d5b62ca3859ff623a7f59c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a17-py3-none-any.whl
Algorithm Hash digest
SHA256 4865bb6012be732795810110b71d2909a4c53f0309707c2a8cef7a6b7e0ff6bc
MD5 00c710a33584f25af6d1c17ea65cb9c9
BLAKE2b-256 eddfc79101a525f1cc711f3efba30fc579023d0c2ec06fc638d8eeb86e8b1976

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