Skip to main content

LLMStudio core capabilities for routing llm calls for any vendor. No proxy server required. For that use llmstudio[proxy]

Project description

LLMstudio-core by TensorOps

Prompt Engineering at your fingertips

LLMstudio logo

🌟 Features

  • Custom and Local LLM Support: Use custom or local open-source LLMs through Ollama.
  • Python SDK: Easily integrate LLMstudio into your existing workflows.
  • LangChain Integration: LLMstudio integrates with your already existing LangChain projects.

🚀 Quickstart

Don't forget to check out https://docs.llmstudio.ai page.

Installation

Install the latest version of LLMstudio using pip. We suggest that you create and activate a new environment using conda

pip install llmstudio-core

Create a .env file at the same path you'll run LLMstudio

OPENAI_API_KEY="sk-api_key"
GOOGLE_API_KEY="sk-api_key"

Now you should be able to run LLMstudio Providers using the following code:

# You can set OPENAI_API_KEY environment variable, add it to .env, or pass directly as api_key
import os
from llmstudio_core.providers import LLMCore as LLM
llm = LLM("vertexai", api_key=os.environ["GOOGLE_API_KEY"])
response = llm.chat("How are you", model="gemini-1.5-pro-latest")
print(response.chat_output, response.metrics)

📖 Documentation

👨‍💻 Contributing

  • Head on to our Contribution Guide to see how you can help LLMstudio.
  • Join our Discord to talk with other LLMstudio enthusiasts.

Training

Banner


Thank you for choosing LLMstudio. Your journey to perfecting AI interactions starts here.

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

llmstudio_core-1.0.1a6.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

llmstudio_core-1.0.1a6-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file llmstudio_core-1.0.1a6.tar.gz.

File metadata

  • Download URL: llmstudio_core-1.0.1a6.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for llmstudio_core-1.0.1a6.tar.gz
Algorithm Hash digest
SHA256 f39c12a0319736f9f56d4ce287eb2b5c03150f5063da9d77c75476b4780c6ae5
MD5 8396a587629092f20cdf2d7fdac20c44
BLAKE2b-256 4501979871b969b73d1c229305771c5d7f2daeb50ad8ad5d63cb646f6c779219

See more details on using hashes here.

File details

Details for the file llmstudio_core-1.0.1a6-py3-none-any.whl.

File metadata

  • Download URL: llmstudio_core-1.0.1a6-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for llmstudio_core-1.0.1a6-py3-none-any.whl
Algorithm Hash digest
SHA256 accfd6684c366a50e68ac11251cff3ca80aa3453e2cdb8073a8974eca8f38b3a
MD5 33c6df98e3fe3f5d3c9a4391f9b8c2d2
BLAKE2b-256 5091c3179a03945a5fad0fdbaab63445d055487c43a29fed20719c010a90815b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page