Eugene Yurtsev

Results 458 comments of Eugene Yurtsev

PR with interface is here: https://github.com/hwchase17/langchain/pull/3979

https://github.com/langchain-ai/langchain/pull/9614 -- will solve deduplication for vectorstores implementing add and delete interfaces

@hwchase17 i think glob patterns don't support specification of multiple suffixes at the same time, so added this as convenience, but can remove

@tgram-3D for now to get token streaming to work: 1) initialize your LLM with `streaming=True` 2) make sure everything is async * If you're using a callback manager, use the...

@tgram-3D take a look at: https://github.com/langchain-ai/langchain/blob/d8c833eff523335beef9791233fc12a8c7235e95/docs/docs/modules/agents/how_to/streaming.ipynb https://github.com/langchain-ai/langchain/blob/d8c833eff523335beef9791233fc12a8c7235e95/docs/docs/modules/agents/how_to/streaming_callbacks.ipynb and we have a new solution incoming: https://github.com/langchain-ai/langchain/pull/16172

it should help. Try to set it to 1 or 2 to see if it works? `max_concurrency` only allows you to control the number of workers, it doesn't directly correspond...

looks good to me, if you're able to update i can merge whenever

@liugddx thanks for tackling this! This doesn't look like the correct place for the fix. https://github.com/langchain-ai/langchain/blob/0ae5027d9847afaacfbe75d60cf0798e7f46c7e7/libs/core/langchain_core/runnables/base.py#L1433-L1433 Instantiates config factories -- this looks good. This code is used here: https://github.com/langchain-ai/langchain/blob/0ae5027d9847afaacfbe75d60cf0798e7f46c7e7/libs/core/langchain_core/runnables/base.py#L4509-L4509 There...

@liugddx fwiw this is not the easiest fix to make -- when i marked it as help wanted originally I didn't notice that it was part of `RunnableEach`, so it...

The change that's needed is likely: ```python def _invoke( self, inputs: List[Input], run_manager: CallbackManagerForChainRun, config: RunnableConfig, **kwargs: Any, ) -> List[Output]: configs = [ patch_config(config, callbacks=run_manager.get_child()) for _ in inputs...