Lightweight Python library designed for developing functionalities powered by Large Language Models (LLMs)
Project description
🧰 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file llmsmith-0.8.0.tar.gz
.
File metadata
- Download URL: llmsmith-0.8.0.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.1 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b2a599717b87e02c3362d29f2e067400efcd2db5dce9201eff56337188030e |
|
MD5 | 0bc13339b1994a3956606c63370652fa |
|
BLAKE2b-256 | 4be0e12b1a5072db2428963cc2600df789d992830fcccbb3fe1163fb6cb96185 |
File details
Details for the file llmsmith-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: llmsmith-0.8.0-py3-none-any.whl
- Upload date:
- Size: 49.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.1 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03b34373a6731d111dbeaa45b56497b6018c6a17699d55954fbee9341f23d48 |
|
MD5 | 55a4ef0b492c1c93c51847758a5985f4 |
|
BLAKE2b-256 | 3354b24ffbd2a622095051666eb3efb7ffe7fcffd4b35e531246c3cdf0267d24 |