Skip to content

langroid/langroid-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template for a Langroid-based project

Example project using the Langroid Multi-Agent Programming framework to build LLM applications.

How to use this template

On GitHub, click on the green "Use this template" button to create a new repo based on this template.

Set up various keys in the .env file or as environment variables

Typically your .env file should look something like this:

GEMINI_API_KEY=your_key
OPENAI_API_KEY=your_key

Use uv to manage Python dependencies and virtual env

Install uv, see here

Change the project name

If your specific project name is myproject, then:

  • Change example to your specific project name in the pyproject.toml file.
  • rename the example folder to myproject

Scripts

Have any useful scripts in the scripts folder, and edit the [project.scipts] section in the pyproject.toml file to include paths to these scripts, so they can be run with uv run <script-name>.

You can declare script dependencies via metadata at the top of the script file , see here

Create virtual env and install dependencies

Then create a virtual env, activate it and install the dependencies:

uv venv --python 3.11
. ./.venv/bin/activate 
uv sync

About

Template for langroid-based projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy