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.3a0.tar.gz (20.7 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.3a0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmstudio_core-1.0.3a0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.8 Linux/6.5.0-1025-azure

File hashes

Hashes for llmstudio_core-1.0.3a0.tar.gz
Algorithm Hash digest
SHA256 3369acdd190d8d8f6e1869f4c1c628b1894046858d476800ba1fd58a5ecb82b9
MD5 c1aeead972c36fa7ff3239deb46d1634
BLAKE2b-256 a61be2c351200d950e6bc1e68fbb36a0c6294009f291aa066c014c4be2c2d3c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmstudio_core-1.0.3a0-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.8 Linux/6.5.0-1025-azure

File hashes

Hashes for llmstudio_core-1.0.3a0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3b7012aa785e549301f5de91f40b6123e3a7069895d92dbc5abc684be03e721
MD5 25de11fbd3ce45ff99391d1fa9da7abf
BLAKE2b-256 e50b33e756a4e9f0ccff04edaeed9c75ec32efc908c0a3594e944870c6036f76

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