Fix link to ttok repo (#198)

Thanks, @cmungall
This commit is contained in:
Chris Mungall 2023-08-31 20:35:39 -07:00 committed by GitHub
parent 0cb9a2ea68
commit 439f7951c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ curl -s https://www.nytimes.com/ \
## ttok
[ttok](https://github.com/simon/ttok) is a command-line tool for counting OpenAI tokens. You can use it to check if input is likely to fit in the token limit for GPT 3.5 or GPT4:
[ttok](https://github.com/simonw/ttok) is a command-line tool for counting OpenAI tokens. You can use it to check if input is likely to fit in the token limit for GPT 3.5 or GPT4:
```bash
cat my-file.txt | ttok
@ -46,4 +46,4 @@ Here's how to use it to find all functions that match `test*csv*` and use those
symbex 'test*csv*' | \
llm --system 'based on these tests guess what this tool does'
```
For more examples see [symbex: search Python code for functions and classes, then pipe them into a LLM](https://simonwillison.net/2023/Jun/18/symbex/).
For more examples see [symbex: search Python code for functions and classes, then pipe them into a LLM](https://simonwillison.net/2023/Jun/18/symbex/).