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.1a2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

llmstudio_core-1.0.1a2-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmstudio_core-1.0.1a2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.0 Darwin/22.3.0

File hashes

Hashes for llmstudio_core-1.0.1a2.tar.gz
Algorithm Hash digest
SHA256 66678120d151b03587fdf696cd96aedd1be49d85bf725eb7c17064a43dbf794e
MD5 eb397f3270de91117bfc4e4cd850e533
BLAKE2b-256 7af2ea0ba48bf3605e06cf97d6851298aabe3c77348e321e20aa12d04cefe9ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llmstudio_core-1.0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 833567d7f41ff91db2dcdb163189e4d4ca24ef9f18466f523314d03acca7c103
MD5 2a82a49e7b1330fb4281b14729bb1134
BLAKE2b-256 d2577c6396e60d8a70ab9d32f1dfe4ac086456257cc1bd9f0cde5ce834a58956

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