Jeong Woo Chang
Jeong Woo Chang
I use `react-starter-kit` and was able to find the minimal way to load CSS without modifying webpack configs. I did `yarn add -D style-loader` and added below code on the...
@ted-at-openai
```typescript const numberOfTokensFromTurboMessages = ( messages: Array, ) => { // Extend existing encoding with custom special tokens const encoding = encoding_for_model('gpt-3.5-turbo'); let numTokens = 0; messages.forEach((message) => { numTokens...
https://github.com/openai/openai-cookbook/pull/254