Li Jiang

Results 126 comments of Li Jiang

> What if, instead of executing code, we have the user proxy return a static message when the extracted block count is > 1 (and languages match). Something like "_Please...

> Is this solved by using the stateful [jupyter code executor](https://microsoft.github.io/autogen/docs/topics/code-execution/jupyter-code-executor)? I get `AttributeError: 'WebSocket' object has no attribute 'send_text'`, the code is https://github.com/microsoft/autogen/blob/c4e570393db9d2c2d3058e271ca2e46473bd8074/autogen/coding/jupyter/jupyter_client.py#L139 Replace `send_text` with `send` worked for...

> > > Is this solved by using the stateful [jupyter code executor](https://microsoft.github.io/autogen/docs/topics/code-execution/jupyter-code-executor)? > > > > > > I get `AttributeError: 'WebSocket' object has no attribute 'send_text'`, the code...

> Could you retry using `websocket-client==1.7.0`? 1.7.0 works well. I checked the code of websocket-client, `send_text` was added in 1.7.0. Since `send` works in our case as well, I'd suggest...

Hi @hsm207 , have you tried RAG with pyautogen v0.2? The docs have been updated, please let me know if you have encountered any issues. Thanks.

@hsm207 , could you remove the existing database and rerun it? The error indicates the embedding function used for creating the vector db and that for searching are different.

> @thinkall how do i remove the existing database (not familiar with chroma)? Simply remove the path `/tmp/chromadb` would do the trick. `"client": chromadb.PersistentClient(path="/tmp/chromadb"),`

> > > @kevin666aa @rickyloynd-microsoft the coverage section of compressible test and teachable test are missing in the contrib-test.yml @IANTHEREAL @gagb same for GPTAssistant test. > > > > >...

> @thinkall I have made the edit from the whole folder to test/agentchat/contrib/test_retrievechat.py please let me know if you'd like to test more .py files in that folder. Thanks! We'll...

Hi @lcneyc , I see you were running the code in debug mode with vscode. Did you set the default python in launch.json under .vscode? It's possible that the default...