-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Code design and architecture
- Authentication: I can probably subclass
requests.Sessionwhile keeping the OpenAI API Key in some context to avoid the repetition - Subcommand architecture: some methods in the
IPythonGPTclass are subcommands, while others are utility methods, but not all subcommands are behaving equally. - Parameter parsing: Related to subcommands; there's a global argument parser shared by all the subcommands. Each command should define its own parser while extending the base parameters. I'm not sure if
argparseis the correct alternative. - Displaying and formatting: I need to improve the way the results are displayed for different types of interfaces (notebook, shell, etc)
Code quality
- Testing: Some testing wouldn't be bad 🤡
- Create its own package: Move
ipython_gpt.pyfrom module to a package - Code formatting: Should incorporate
black - CI/CD Pipeline: A minimum pipeline to check formatting and test coverage
Feature improvements
- Streaming: Test support for
stream=True. - Debug mode: some way to see/debug what the client is doing behind the scenes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels