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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a20.tar.gz
Algorithm Hash digest
SHA256 e73152446572d43a1d12e748b6b581e914a9418534a86f41304157acb9786a07
MD5 42b79942b455cbd590ddec70ddc33dd8
BLAKE2b-256 8a713c8e0ee5b9a65f3114953378ffc874e8016841c038f4fa4762234c9adcda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a20-py3-none-any.whl
Algorithm Hash digest
SHA256 8c850ac0144cbd7c916d7db9682dce87a977066c22a0920b98915fcf7490c819
MD5 cb24eedd4ce5365267ae506f8a265de1
BLAKE2b-256 a6770bb49f06befeeaedcdeb1cf48cdf1bcc77dae8ca320114f9c5b22b68f33c

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