Skip to content

Easier interface please? #92

@tyler-suard-parker

Description

@tyler-suard-parker

Hello. I just want to be able to get the final answer from GPT-OSS.

It would be great if this library could work like this:

import harmony

output_tokens = model("Hello!")

harmony_dict = harmony.decode(output_tokens)

print(str(harmony_dict))

Returns:

{"analysis": "I should respond to the user's question.",
"final": "Hi! How are you?""}

As it is currently, I find the documentation and the examples very difficult to understand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions