forked from yethee/tiktoken-php
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pavel Alekseev
committed
Oct 13, 2023
1 parent
d718336
commit 2a33a1e
Showing
19 changed files
with
76 additions
and
100,589 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,21 @@ | ||
{ | ||
"name": "yethee/tiktoken", | ||
"name": "guttedgarden/tiktoken", | ||
"type": "library", | ||
"license": "MIT", | ||
"description": "PHP version of tiktoken", | ||
"description": "PHP 7.4 version of tiktoken", | ||
"keywords": ["openai", "tiktoken", "tokenizer", "bpe", "encode", "decode"], | ||
"require": { | ||
"php": "^8.1", | ||
"symfony/service-contracts": "^2.5 || ^3.0" | ||
}, | ||
"require-dev": { | ||
"doctrine/coding-standard": "^11.1", | ||
"phpunit/phpunit": "^10.3", | ||
"psalm/plugin-phpunit": "^0.18.3", | ||
"vimeo/psalm": "5.9.0" | ||
"php": ">=7.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Yethee\\Tiktoken\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Yethee\\Tiktoken\\Tests\\": "tests" | ||
"guttedgarden\\Tiktoken\\": "src" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"scripts": { | ||
"check": [ | ||
"@cs-check", | ||
"@analyse", | ||
"@test" | ||
], | ||
"analyse": "psalm --stats", | ||
"cs-check": "phpcs", | ||
"cs-fix": "phpcbf", | ||
"test": "phpunit --colors=always --no-coverage" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.