mirror of
https://github.com/openai/harmony.git
synced 2025-08-23 01:17:09 -04:00
Initial commit
Co-authored-by: scott-oai <142930063+scott-oai@users.noreply.github.com> Co-authored-by: Zhuohan Li <zhuohan@openai.com>
This commit is contained in:
commit
253cdca537
70 changed files with 15013 additions and 0 deletions
9
AGENTS.md
Normal file
9
AGENTS.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Harmony renderer
|
||||
|
||||
This project provides a structured way to create messages that get rendered into a set of tokens using our harmony prompt format.
|
||||
|
||||
The majority of the code is written in Rust inside `src/` and `src/py_module.rs` defines using pyo3 what functions are exposed to the python version of the library with a wrapper in `python/openai_harmony/__init__.py`.
|
||||
|
||||
You can build the Rust code along with the Python wrapper using `maturin develop --release`. This will also locally install the library in the venv so you can use it.
|
||||
|
||||
To test the library run `pytest`. That's the only way you can test it.
|
Loading…
Add table
Add a link
Reference in a new issue