Feature/output #2
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the
openai-batch-jsonl
project, focusing on renaming classes and methods for clarity, updating the documentation, and adding new functionality for handling batch outputs. The most important changes include renaming model classes, updating the builder methods, and enhancing the README file with installation and usage instructions.Documentation Updates:
README.md
: Updated project name, added installation instructions, and provided detailed usage examples for theopenai-batch-jsonl
tool.Code Refactoring:
objsonl/builder.py
: Renamed classes and methods to improve clarity, e.g.,Line
toInputLine
andBatch
toBatchInput
. Updated methodbuild_pandas
to reflect these changes. [1] [2] [3] [4]objsonl/model/input.py
: RenamedLine
toInputLine
andBatch
toBatchInput
, and updated related methods. [1] [2]objsonl/model/output.py
: Added newBatchOutput
class to handle batch output results, including methods to load from a file and convert to a pandas DataFrame.Test Updates:
objsonl/model/test_input.py
: Updated imports and class names to reflect the renaming in the model input module.objsonl/model/test_output.py
: Added new tests for theBatchOutput
class.objsonl/test_builder.py
: Updated test data and imports to match the changes in the builder module. [1] [2]Workflow Removal:
.github/workflows/codeql.yml
: Removed the CodeQL workflow configuration file.