Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
I have a codebase in Python. There are many classes and complex hierarchies. I need a…
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
I have a codebase in Python. There are many classes and complex hierarchies. I need a tool that can automatically generate a dependency graph for me. For example, it should generate an image that shows using arrows what classes are connected via composition or inheritance. Could you please recommend a few tools for that?
- Assistant
You can use the command
pyreversewhich is included with thepylintpackage:shell$ pip install pylint $ pyreverse [options] <packages>For example, this command will output a pdf class diagram called
classes.pdffor a python package calledexample:shell$ pyreverse -o pdf exampleMore documentation on
pyreversecan be found here: https://pylint.readthedocs.io/en/latest/pyreverse.html
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →