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
Li Jiang
ff414892c4
Fix docstring of get_or_create ( #583 )
...
* Fix docstring of get_or_create
* Improve docstring
2023-11-12 03:10:58 +00:00
Chi Wang
dfcbea9777
seed -> cache_seed ( #600 )
2023-11-08 23:39:02 +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
f9acb69aea
Update docs in RetrieveChat notebook and Installation ( #379 )
...
* Update comments to make it more clear
* Update Installation
2023-10-23 22:28:38 +00:00
Qingyun Wu
6156faaa0a
Typo ( #234 )
...
* fix typo
* wording
* typo
2023-10-13 22:07:17 +00:00
lars.gersmann
62b6357294
docs: typo fixed ( #129 )
2023-10-07 04:04:22 +00:00
Aaron
4adbffa94b
retrieve_utils.py - Updated.py to have the ability to parse text from PDF Files ( #50 )
...
* UPDATE - Updated retrieve_utils.py to have the ability to parse text from pdf files
* UNDO - change to recursive condition
* UPDATE - updated agentchat_RetrieveChat.ipynb to clarify which file types are accepted to be in the docs path
* ADD - missing import
* UPDATE - setup.py to have PyPDF2 in retrievechat
* RE-ADD - urls
* ADD - tests for retrieve utils, and removed deprecated PyPdf2
* Update agentchat_RetrieveChat.ipynb
* Update retrieve_utils.py
Fix format
* Update retrieve_utils.py
Replace print with logger
* UPDATE - added more specific exception to PDF decryption try/catch
* FIX - typo, return statement at wrong indentation in extract_text_from_pdf
---------
Co-authored-by: Ward <award40@LAMU0CLP74YXVX6.uhc.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-10-01 10:22:58 +00:00
Chi Wang
402c5bf8d1
Fix bug for windows and improve sample code ( #38 )
...
* fix bug for windows
* fix bug for windows
* more clear example
* link to example
* add test
* format
* comment
* fix assertion error
* fix test error and links
---------
Co-authored-by: Chi Wang (MSR) <chiw@microsoft.com>
2023-09-28 20:14:36 +00:00
Li Jiang
11088181b6
Improve RetrieveChat ( #6 )
...
* Upsert in batch
* Improve update context, support customized answer prefix
* Update tests
* Update intermediate answer
* Fix duplicate intermediate answer, add example 6 to notebook
* Add notebook results
* Works better without intermediate answers in the context
* Bump version to 0.1.2
* Remove commented code and add descriptions to _generate_retrieve_user_reply
---------
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
2023-09-27 01:22:50 +00:00
Chi Wang
23ceac0fe0
cleanup
2023-09-25 21:42:24 +00:00
Chi Wang
23633ae744
cleanup
2023-09-21 15:39:52 +00:00
Chi Wang
ec85b4984d
cleanup
2023-09-19 02:26:57 +00:00