Li Jiang
370ebf5e00
Update speaker selector in GroupChat and update some notebooks ( #688 )
...
* Add speaker selection methods
* Update groupchat RAG
* Update seed to cache_seed
* Update RetrieveChat notebook
* Update parameter name
* Add test
* Add more tests
* Add mock to test
* Add mock to test
* Fix typo speaking
* Add gracefully exit manual input
* Update round_robin docstring
* Add method checking
* Remove participant roles
* Fix versions in notebooks
* Minimize installation overhead
* Fix missing lower()
* Add comments for try_count 3
* Update warning for n_agents < 3
* Update warning for n_agents < 3
* Add test_n_agents_less_than_3
* Add a function for manual select
* Update version in notebooks
* Fixed bugs that allow speakers to go twice in a row even when allow_repeat_speaker = False
---------
Co-authored-by: Adam Fourney <adamfo@microsoft.com>
2023-11-17 13:56:11 +00:00
Chi Wang
306ac4d7f7
copy dicts before modifying ( #551 )
...
* copy dicts before modifying
* update notebooks
* update notebooks
* close #567
2023-11-06 21:14:05 +00:00
Chi Wang
c4f8b1c761
Dev/v0.2 ( #393 )
...
* api_base -> base_url (#383 )
* InvalidRequestError -> BadRequestError (#389 )
* remove api_key_path; close #388
* close #402 (#403 )
* openai client (#419 )
* openai client
* client test
* _client -> client
* _client -> client
* extra kwargs
* Completion -> client (#426 )
* Completion -> client
* Completion -> client
* Completion -> client
* Completion -> client
* support aoai
* fix test error
* remove commented code
* support aoai
* annotations
* import
* reduce test
* skip test
* skip test
* skip test
* debug test
* rename test
* update workflow
* update workflow
* env
* py version
* doc improvement
* docstr update
* openai<1
* add tiktoken to dependency
* filter_func
* async test
* dependency
* migration guide (#477 )
* migration guide
* change in kwargs
* simplify header
* update optigude description
* deal with azure gpt-3.5
* add back test_eval_math_responses
* timeout
* Add back tests for RetrieveChat (#480 )
* Add back tests for RetrieveChat
* Fix format
* Update dependencies order
* Fix path
* Fix path
* Fix path
* Fix tests
* Add not run openai on MacOS or Win
* Update skip openai tests
* Remove unnecessary dependencies, improve format
* Add py3.8 for testing qdrant
* Fix multiline error of windows
* Add openai tests
* Add dependency mathchat, remove unused envs
* retrieve chat is tested
* bump version to 0.2.0b1
---------
Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-11-04 04:01:49 +00:00
Li Jiang
88ebb77048
Add group chat and retrieve agent example ( #227 )
...
* Add group chat and retrieve agent example
* Fix link and models
* Support call rag in a group chat and not init with rag
* Fix n_results logic
* Update notebook
* Fix format
* Improve wording
* Update variable name
* Revert to main
* Update function call
* Update keys
* Update contents
* Update contents
2023-10-17 20:31:27 +00:00