Giter VIP home page Giter VIP logo

dr-streamlit-llm-app's Introduction

DR Rag Bot Accelerator

The purpose of this repo is to quickly and easily get you a streamlit app deployed to datarobot. The purpose of the app is to provide an interface for folks to interact with llm blueprints that have been deployed from the datarobot llm playground to datarobot mlops / console.

run the app

Before pushing the app to DataRobot, give it a spin locally via

streamlit run app/app.py

Recommended -> create a virtual environment and pip install -r ./app/requirements.txt as well as streamlit.

You will also need the following environment variables set:

  • DATAROBOT_API_TOKEN
  • DATAROBOT_ENDPOINT

push the app to datarobot

install dr-apps

run the following

drapps create --path ./app --base-env 6542cd582a9d3d51bf4ac71e 'Connect to any LLM Proxied by DR'

This will create an app in datarobot nammed Connect to any LLM Proxied by DR.

If you don't already have DATAROBOT_API_TOKEN and DATAROBOT_ENDPOINT set and environment variables, either set them, or pass them to the drapps create command via -t and -E arguments as follows

drapps create -t <datarobot-api-token> -E <datarobot-endpoint> --path ./app --base-env 6542cd582a9d3d51bf4ac71e 'Connect to any LLM Proxied by DR'

dr-streamlit-llm-app's People

Contributors

timsetsfire avatar

Watchers

 avatar Kostas Georgiou avatar

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.