Coder Social home page Coder Social logo

qa_llama_index_playground's Introduction

Question Answering RAG using LlamaIndex in agenta

This templates is a question answering application with a RAG architecture using LlamaIndex, openAI. It provides a playground to experiment with different prompts and parameters in LlamaIndex and evaluate the results. It runs with agenta. Agenta is an open-source LLMOps platform that allows you to 1) create a playground from the code of any LLM app to quickly experiment, version, and collaborate in your team 2) evaluate LLM applications, and 3) deploy applications easily.

How to use

0. Prerequisites

  • Install the agenta CLI
pip install -U agenta

1. Clone the repository

git clone https://github.com/Agenta-AI/qa_llama_index_playground.git

2. Initialize the project

cd qa_llama_index_playground
agenta init

3. Setup your openAI API key

Create a .env file by copying the .env.example file and add your openAI API key to it.

OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxx

4. Deploy the application to agenta

agenta variant serve app.py

5. Experiment with the prompts in a playground and evaluate different variants in agenta

job_desc.mp4

qa_llama_index_playground's People

Contributors

mmabrouk avatar sameh-methnani-plana avatar

Stargazers

 avatar  avatar

Watchers

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