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-0.0.1b1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

llmstudio_core-0.0.1b1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file llmstudio_core-0.0.1b1.tar.gz.

File metadata

  • Download URL: llmstudio_core-0.0.1b1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/23.6.0

File hashes

Hashes for llmstudio_core-0.0.1b1.tar.gz
Algorithm Hash digest
SHA256 8bda63db684463ab2b68728c03462f5e9a85910857d61a0281e1e3ea5cd1bfdd
MD5 1af3cb3b9532cd29aa2bf7b14f09f518
BLAKE2b-256 e1e80ec3345124aa201cdb0083ca08e716e69f978aa9b443c7cfe4a99af3baaa

See more details on using hashes here.

File details

Details for the file llmstudio_core-0.0.1b1-py3-none-any.whl.

File metadata

File hashes

Hashes for llmstudio_core-0.0.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 e6cbb1af17520ac96bb1650308c8c6a649d31de3b0ccb9f65b4ff2047e4c37d8
MD5 af808cac0c10264f7255e9c070689191
BLAKE2b-256 c431e4f6ae8eacb8cca07ce8777658a634de8d0f94d50151bb844fc09e14269b

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