Skip to main content

🧰 LLMSmith

What is LLMSmith?

LLMSmith is a lightweight Python library designed for developing functionalities powered by Large Language Models (LLMs). It allows developers to integrate LLMs into various types of applications, whether they are web applications, GUI applications, or any other kind of application.

Installation

LLMSmith does not download extra dependencies (like openai, google-generativeai, chromadb etc.) by default. This is to minimize bloat and keep your application package size in check. The recommended way to install LLMSmith is by specifying the extra dependencies explicitly.

For example, if your project is using an OpenAI LLM and Chroma DB vector database, install LLMSmith using the below command.

pip install "llmsmith[openai,chromadb]"

The above command ensures that only the required dependencies (openai and chromadb clients in this case) are downloaded. The rest are ignored, thus reducing the package size.

Here's the list of extra dependencies supported by LLMSmith:

  • openai
  • claude
  • gemini
  • chromadb
  • qdrant
  • cohere
  • pinecone
  • groq
  • pgvector
  • all (downloads all extra dependencies)

Example

Refer this page from the documentation to see examples on how LLMSmith can be used to build LLM powered functionalities.

Documentation

An extensive documentation for LLMSmith is hosted in Read the Docs here - https://llmsmith.readthedocs.io/en/latest

Release files for LLMSmith 0.8.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 LLMSmith 0.8.0
File Size Uploaded
llmsmith-0.8.0.tar.gz 24.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for LLMSmith 0.8.0
File Interpreter ABI Platform
llmsmith-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 73.7 kB

Release files / llmsmith-0.8.0.tar.gz

Download URL llmsmith-0.8.0.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
37b2a599717b87e02c3362d29f2e067400efcd2db5dce9201eff56337188030e
BLAKE2b-256 checksum
How to use checksums
4be0e12b1a5072db2428963cc2600df789d992830fcccbb3fe1163fb6cb96185
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.1 Darwin/23.5.0

Release files / llmsmith-0.8.0-py3-none-any.whl

Download URL llmsmith-0.8.0-py3-none-any.whl
Size 49.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e03b34373a6731d111dbeaa45b56497b6018c6a17699d55954fbee9341f23d48
BLAKE2b-256 checksum
How to use checksums
3354b24ffbd2a622095051666eb3efb7ffe7fcffd4b35e531246c3cdf0267d24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.1 Darwin/23.5.0

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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