Giter VIP home page Giter VIP logo

llamacloud-demo's Introduction

LlamaCloud Demo

Getting Started

  1. Follow the instructions in the section below for setting up the Jupyter Environment.
  2. Go to https://cloud.llamaindex.ai/ and create an account using one of the authentication providers.
  3. Once logged in, go to the API Key page and create an API key. Copy that generated API key to your clipboard.
  4. Go back to LlamaCloud. Create a project and initialize a new index by specifying the data source, data sink, embedding, and optionally transformation parameters.
  5. Open one of the Jupyter notebooks in this repo (e.g. examples/getting_started.ipynb) and paste the API key into the first cell block that reads os.environ["PLATFORM_API_KEY"] = "..."
  6. Copy the index_name and project_name from the deployed index into the LlamaCloudIndex initialization in the notebook.

That should get you started! You should now be able to create an e2e pipeline with a LlamaCloud pipeline as the backend.

Evals

If you're interested in running/viewing evals, you have the following options from clicking on the "Evals" tab:

  • Cloud Eval Runs: Easily run evals on a deployed index on the cloud. Click New Cloud Run, fill out the index/prompt/required info, and add your own questions to run.
  • Local Eval Runs: Take full advantage of the flexible open-source evaluation modules, and upload results to the "Local Eval Runs" tab as a report card. See examples/batch_eval.ipynb as an example.

Setting up the Jupyter Environment

Here's some commands for installing the Python dependencies & running Jupyter.

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
jupyter lab

Notebooks are in examples.

Note: if you encounter package issues when running notebook examples, please rm -rf .venv and repeat the above steps again.

llamacloud-demo's People

Contributors

disiok avatar jerryjliu avatar hatianzhang avatar sourabhdesai avatar logan-markewich avatar yisding avatar

Stargazers

 avatar Pascal Gula avatar

Watchers

 avatar  avatar  avatar Javier Torres avatar Ravi Theja avatar  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.