Yangyong Zhang

Results 4 comments of Yangyong Zhang

I had no trace issue when using the following setup and with specifying the retriever (but for direct indexing -> query engine it is fine): ``` langfuse_callback_handler = LlamaIndexCallbackHandler() Settings.callback_manager...

> Oh man, I'm so sorry I know I asked you to file this issue @hypernovas . Thanks again! Thanks for letting me know! You guys did great job.

Sure, thanks! ![1000012261](https://github.com/user-attachments/assets/01b5f70f-3cfd-4534-90d6-f7e178b00b90) ``` from PIL import Image def resize_image(img, max_dimension=300): # Calculate the ratio to resize by ratio = max_dimension / max(img.size) new_size = (int(img.size[0] * ratio), int(img.size[1] *...

The lib versions: ``` !pip install accelerate==0.32.1 huggingface-hub==0.24.0 Pillow==10.4.0 torch==2.3.1 torchvision==0.18.1 transformers==4.42.2 einops==0.8.0 gradio==4.38.1 !pip install flash-attn==2.6.2 datasets==2.20.0 ```