Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.38 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.38 KB

Extraction of Structured Data from Job Description using OpenAI Functions, Langchain and Agenta

This templates is designed to extracts job information (company name, job title, salary range) from a job description. It uses OpenAI Functions and Langchain. It runs with agenta. Agenta is an open-source LLMOps platform that allows you to 1) quickly experiment and compare configuration for LLM apps 2) evaluate prompts and workflows 3) deploy applications easily.

How to use

0. Prerequisites

  • Install the agenta CLI
pip install agenta-cli

1. Clone the repository

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

2. Initialize the project

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

You can find example inputs under the folder jobdescriptions.