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.0a9.tar.gz (8.6 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.0a9-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a9.tar.gz
Algorithm Hash digest
SHA256 ba8618adbfa8bc6f3592f6408d1a9e8893a7f1621beef8b145e41066b9691d35
MD5 014d127e3d7c106f60b8a27479ef8cd7
BLAKE2b-256 142e5f2d7517c20da0ee9ad63db7483253235c2c06ce57bba661f117a22d7536

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microsoft_teams_openai-2.0.0a9-py3-none-any.whl
Algorithm Hash digest
SHA256 6601fda608566ca098ea814a1a6924865219fcae9fa788923b72b62227ef3830
MD5 2cb71a4c1f1484a8975c77f51981553c
BLAKE2b-256 0d1a20231bab6075640eb66000f97edfbd293917dabad11a8cb1954460120ce6

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