Skip to content

recitalAI/ragtime-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Presentation

The ragtime-projects repo contains projects built using Ragtime 🎹.

Getting started

Install the package

Make sure you have already installed the Ragtime 🎹 package. If not, just run:

pip install ragtime

If you want to modify the ragtime-package then you will want to install it as an editable version. In this case, go to the base folder of ragtime-package and run in the shell:

pip install -e .

(don't forget the last dot). If you have an error (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.), upgrade pip.

Create your project

Edit PROJECT_NAME in the main.py file and run it.

This will create a subfolder named according to PROJECT_NAME containing:

  • folder expe: contains 4 sub-folders containing the data which will be created at each step of your experiments
  • folder logs: the logs associated with your project
  • folder res: contains templates for the file exports
  • classes.py: your classes to define the Prompter and Retrievers you may use
  • main.py: the file containing the main function for your project
  • LICENSE: MIT by default - don't forget to add you name / company in it
  • README.md: your project's doc
  • .gitignore

At this point, don't forget to set PROJECT_NAME in the main.py in your project folder.

Examples

Several examples are given to illustrate how to use Ragtime 🎹:

Contributing

Glad you wish to contribute! More details here.

Package repo

If you are looking for the package, not the examples, it is here.

Troubleshooting

Environment variables for API not recognized in Windows

In this case, just call `ragtime.config.init_win_env' as detailed here

About

Projects using the Ragtime🎹 package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages