truera / trulens

Evaluation and Tracking for LLM Experiments
https://www.trulens.org/
MIT License
2.08k stars 181 forks source link

fix LlamaIndex streaming response import #1276

Closed sfc-gh-chu closed 3 months ago

sfc-gh-chu commented 3 months ago

Description

Please include a summary of the changes and the related issue that can be inlcuded in the release announcement. Please also include relevant motivation and context. Fixes import for StreamingResponse

Other details good to know for developers

Please include any other details of this change useful for TruLens developers.

Type of change

sfc-gh-chu commented 3 months ago

@sfc-gh-pmardziel do you know of any way to catch broken optional imports like these in our pipeline?

sfc-gh-jreini commented 3 months ago

Nonblocker: can we add clear statements in the docs for cases where we do/don't support streaming?

Can we also investigate the async/streaming notebooks and fix if they don't work or remove if no longer supported?