Giter Club home page Giter Club logo

agent-studio's Introduction

agent-studio

A Databricks framework for quick Agent solutions.

Initial Setup

To get started, access the secrets notebook in the Setup folder. There are four secrets that need to be created.

  • Databricks Host - This is the workspace url. The sample code gets it configured for you.
  • Databricks Token - This is the credential token that you will use to access the endpoints and underlying tools/data.
  • Open AI - This is the Open AI Key that will be used when accessing Open AI. (It's recommended that you instead create an external model in databricks for open ai and point your agents to that.)
  • Folder Path - This is the workspace path to the parent folder of Agent Studio.

If you put your secrets in a different scope, you'll need to update the scope in the necessary files.

  • In the Agent Studio notebook, update the four references in Command 3.
  • In the Core/AgentCreator.py file:
    • Update the environment variables in the endpoint_config variable at the top.
    • Update the secret references in the master_template variable.

Use

There are two main notebooks that drive the application.

  • Agent Studio - Run this notebook and click on the generated link at the bottom cells. This will open a Gradio App in a neighboring tab. Here is where you can setup your agent.
  • Chatbot-App - Specify the endpoint name and a description, and run the notebook. Click the generated link at the bottom, and a Gradio App will open up in a neighboring tab. Use this to test your agent.

Tools

After creating or modifying tool python files, run the Parse Tools notebook to generate the yaml for the tools.

agent-studio's People

Contributors

rmosleydb 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.