-
-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added GPT-4 Vision Support & Token Counter #418
base: main
Are you sure you want to change the base?
Commits on Jul 31, 2023
-
"Add tiktoken dependency and functionality to calculate tokens for pr…
…ompt in sgpt/app.py, refactor lists in pyproject.toml" This commit introduces the 'tiktoken' dependency in the pyproject.toml file and adds functionality to calculate the number of tokens for a given prompt in the sgpt/app.py file. This is done by adding a new 'tokenize' option in the main function.
duysqubix committedJul 31, 2023 Configuration menu - View commit details
-
Copy full SHA for a34bf9c - Browse repository at this point
Copy the full SHA a34bf9cView commit details
Commits on Aug 1, 2023
-
"Refactor pyproject.toml to use Poetry for package management and upd…
…ate dependencies"
duysqubix committedAug 1, 2023 Configuration menu - View commit details
-
Copy full SHA for b14b7c9 - Browse repository at this point
Copy the full SHA b14b7c9View commit details
Commits on Aug 3, 2023
-
"Reordered import statements and removed unnecessary whitespace in ap…
…p.py"
duysqubix committedAug 3, 2023 Configuration menu - View commit details
-
Copy full SHA for a4d4ad6 - Browse repository at this point
Copy the full SHA a4d4ad6View commit details -
reverted back to original pyproject file, with the exception of addin…
…g tiktoken as a dependency
duysqubix committedAug 3, 2023 Configuration menu - View commit details
-
Copy full SHA for c3f6e22 - Browse repository at this point
Copy the full SHA c3f6e22View commit details
Commits on Aug 4, 2023
-
- Changed the working directory and copy destination to /home/app for better organization and to follow best practices. - Added a step to create a new user 'app' and switch to it for security reasons, as running the Docker container as root can be a security risk. 2. sgpt/__init__.py: - Imported Optional from typing to support optional typing in the code, improving code readability and maintainability. 3. sgpt/app.py: - Imported rich library and typing for better console output formatting and type hinting. - Replaced typer.echo with rich.print for better console output formatting. - Removed a comment that was not providing any additional information. 4. sgpt/config.py: - Imported Console from rich for better console output formatting. - Added a new configuration variable 'FORCE_COLOR' to allow users to force color output in the console. - Added a method to initialize a Console object with the appropriate color system based on the 'FORCE_COLOR' configuration variable. 5. sgpt/role.py: - Imported print from rich for better console output formatting. - Replaced typer.echo with rich.print for better console output formatting. 6. sgpt/utils.py: - Imported print from rich for better console output formatting. - Replaced typer.echo with rich.print for better console output formatting.
duysqubix committedAug 4, 2023 Configuration menu - View commit details
-
Copy full SHA for 888d140 - Browse repository at this point
Copy the full SHA 888d140View commit details
Commits on Dec 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 824d19b - Browse repository at this point
Copy the full SHA 824d19bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49662d1 - Browse repository at this point
Copy the full SHA 49662d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0243be - Browse repository at this point
Copy the full SHA a0243beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 533d4d5 - Browse repository at this point
Copy the full SHA 533d4d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c45ce5 - Browse repository at this point
Copy the full SHA 1c45ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 276ec53 - Browse repository at this point
Copy the full SHA 276ec53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7035f24 - Browse repository at this point
Copy the full SHA 7035f24View commit details