openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Add example for handling long input texts

Open filipeabperes opened this issue 2 years ago • 1 comments
trafficstars

filipeabperes avatar Jan 19 '23 02:01 filipeabperes

Should we renorm the embedding vector after doing the weighted average? 🤔

filipeabperes avatar Jan 19 '23 04:01 filipeabperes

Should we renorm the embedding vector after doing the weighted average? 🤔

Good idea - I'll do that now.

I also committed some changes above to polish the text. I also re-ran the notebook to clean up the cell numbers (1, 2, 3, ...) as well as align the outputs with the code (I think the print statements had been reworded, but not re-executed).

If my suggested changes look good to you, happy to merge.

ted-at-openai avatar Jan 19 '23 18:01 ted-at-openai

Thanks! Everything looks good to me, merged.

filipeabperes avatar Jan 19 '23 18:01 filipeabperes