&

Results 71 comments of &

Use `console.table`!

Ah yes you are right, it should have been 2, 6, 11 like you said!

Happens locally as well if you are lucky, cant reproduce though...

> Whoa that's a big commit you got there. hahah yeah, one refactor turned into another and this happened :D thanks for testing it out! will dive deeper into this...

> Have you tried using [async_stream](https://docs.rs/async-stream/latest/async_stream/) with `yield`. There are some usage patterns in the codebase already such as [this](https://github.com/Abraxas-365/langchain-rust/blob/72dbfc2647bbf98faa6cb860d6b5d6c9a7b0d19f/src/document_loaders/document_loader.rs#L33-L50) and [this](https://github.com/Abraxas-365/langchain-rust/blob/72dbfc2647bbf98faa6cb860d6b5d6c9a7b0d19f/src/document_loaders/source_code_loader/source_code_loader.rs#L71-L91). If you have issues with threading you can...

I mapped the stream item using `map_ok` and the error with `map_err`, and returned resulting stream with `Ok(Box::pin(stream))` and it works quite nicely! Just one more question, what should be...

EDITED* Yea I think returning `Option` instead would be better DX instead of error handling. I guess we keep this PR as is w.r.t to the returned item, and tackle...

Updated, also added a TODO note for that `Option`.

I have no idea why the build is failing btw :o