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.3a1.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llmstudio_core-1.0.3a1-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file llmstudio_core-1.0.3a1.tar.gz.

File metadata

  • Download URL: llmstudio_core-1.0.3a1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1020-azure

File hashes

Hashes for llmstudio_core-1.0.3a1.tar.gz
Algorithm Hash digest
SHA256 f37a56d216ac9e575004aef55a801ab60abd3b92f5c8cc806f55327b61ec780f
MD5 99d4c1abb37170a4140bd4147c553241
BLAKE2b-256 7d264fbded34a687dad08ed3c7c522df3d923a4d553ef817f77d01c2ee984ac0

See more details on using hashes here.

File details

Details for the file llmstudio_core-1.0.3a1-py3-none-any.whl.

File metadata

  • Download URL: llmstudio_core-1.0.3a1-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.8.0-1020-azure

File hashes

Hashes for llmstudio_core-1.0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 fff570a226dea2fdf3cb370274832d3e2fb7cc9008f9fb40fb5d5f737dc6e562
MD5 8a498dca0d7ed18364b4a1b8b4838307
BLAKE2b-256 138355d615cc0d675c3a72ffca491f54dbaf2017e5d026e40617976162cea137

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