Skip to main content

med-chat

A framework of LLM chat clients for mediq applications.

Install

pip install med-chat

Usage

from med_chat import Message, ChatClient

chat_client = ChatClient.use("chatgpt")
response = chat_client.complete_chat(
  messages = [
    Message(role="user", content="What is the capital of the United States?"),
  ],
  model="gpt-3.5-turbo"
)
print(response)

See more examples under tests directory.

Metadata

Release files for med-chat 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for med-chat 0.1.0
File Size Uploaded Provenance Actions
med_chat-0.1.0.tar.gz 7.5 kB Without provenance Details for med_chat-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for med-chat 0.1.0
File Interpreter ABI Platform Actions
med_chat-0.1.0-py3-none-any.whl Python 3 none any Details for med_chat-0.1.0-py3-none-any.whl

Total release size: 14.2 kB

Release files / med_chat-0.1.0.tar.gz

Download URL med_chat-0.1.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
435e41e84df57e86a98cfa90e1588a9fb25840d33697b6276a7128da8356486c
BLAKE2b-256 checksum
How to use checksums
b702b5e621b80a7992da7be6cbc08be12ed40e502774bea00479d77c59834f3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release files / med_chat-0.1.0-py3-none-any.whl

Download URL med_chat-0.1.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e9d4451cf8a3b6b7325a4699a64c1821da39054d54a4d59b93a5e733ebe2e04
BLAKE2b-256 checksum
How to use checksums
b619e553b8a9ab51ae919127cac90dc761ab5d4e92014e8651d9d62a75f49ca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Security for med-chat 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page