Code Monkey home page Code Monkey logo

llmstudio's Introduction

LLMstudio by TensorOps

Prompt Engineering at your fingertips

LLMstudio logo

Important

LLMstudio is now supporting OpenAI v1.0 + just added support to Anthropic

🌟 Features

LLMstudio UI

  1. Python Client Gateway:
    • Access models from known providers such as OpenAI, VertexAI and Bedrock. All in one platform.
    • Speed up development with tracking and robustness features from LLMstudio.
    • Continue using popular libraries like LangChain through their LLMstudio-wrapped versions.
  2. Prompt Editing UI:
    • An intuitive interface designed for prompt engineering.
    • Quickly iterate between prompts until you reach your desired results.
    • Access the history of your previous prompts and their results.
  3. History Management:
    • Track past runs, available for both on the UI and the Client.
    • Log the cost, latency and output of each prompt.
    • Export the history to a CSV.
  4. Context Limit Adaptability:
    • Automatic switch to a larger-context fallback model if the current model's context limit is exceeded.
    • Always use the lowest context model and only use the higher context ones when necessary to save costs.
    • For instance, exceeding 4k tokens in gpt-3.5-turbo triggers a switch to gpt-3.5-turbo-16k.

πŸ‘€ Coming soon:

  • Side-by-side comparison of multiple LLMs using the same prompt.
  • Automated testing and validation for your LLMs. (Create Unit-tests for your LLMs which are evaluated automatically)
  • API key administration. (Define quota limits)
  • Projects and sessions. (Organize your History and API keys by project)
  • Resilience against service provider rate limits.
  • Organized tracking of groups of related prompts (Chains, Agents)

πŸš€ 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

Install bun if you want to use the UI

curl -fsSL https://bun.sh/install | bash

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

OPENAI_API_KEY="sk-api_key"
ANTHROPIC_API_KEY="sk-api_key"

Now you should be able to run LLMstudio using the following command.

llmstudio server --ui

When the --ui flag is set, you'll be able to access the UI at http://localhost:3000

πŸ€” About LLMstudio

Powered by TensorOps, LLMstudio redefines your experience with OpenAI, Vertex Ai and more language model providers. More than just a tool, it’s an evolving environment where teams can experiment, modify, and optimize their interactions with advanced language models.

Benefits include:

  • Streamlined Prompt Engineering: Simplify and enhance your prompt design process.
  • Execution History: Keep a detailed log of past executions, track progress, and make iterative improvements effortlessly.
  • Effortless Data Export: Share your team's endeavors by exporting data to shareable CSV files.

Step into the future of AI with LLMstudio, by watching our introduction video

πŸ“– 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.