8000
S 7FFF kip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vibesort

AI-powered array sorting using GPT.

Usage

Install the package:

pip install vibesort

Set your OpenAI API key as an environment variable.

export OPENAI_API_KEY=your_key_here
from vibesort import vibesort

result = vibesort([5, 2, 8, 1, 9])
print(result)  # [1, 2, 5, 8, 9]

Test

pytest tests/

Dependencies

  • openai
  • pydantic
  • typing-extensions

⚠️ Requires OpenAI API key. Experimental project - not for production use.

About

GPT powered sorting using structured output

Resources

Stars

515 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages

0