Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TeachableAgent #278

Merged
merged 66 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
93ee755
Initial commit.
rickyloynd-microsoft Sep 21, 2023
4d2ccf6
Disable LLM response caching.
rickyloynd-microsoft Sep 27, 2023
1c61c73
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 3, 2023
fa033c0
Add teachability option to setup.py
rickyloynd-microsoft Oct 3, 2023
165d5ce
Modify test to use OAI_CONFIG_LIST as suggested in the docs.
rickyloynd-microsoft Oct 3, 2023
295f9e0
Expand unit test.
rickyloynd-microsoft Oct 4, 2023
515f2d9
Complete unit test.
rickyloynd-microsoft Oct 4, 2023
07cc364
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 5, 2023
3443e57
Add filter_dict
rickyloynd-microsoft Oct 6, 2023
dfe47a5
details
rickyloynd-microsoft Oct 6, 2023
c61d69c
AnalysisAgent
rickyloynd-microsoft Oct 7, 2023
748ffcd
details
rickyloynd-microsoft Oct 9, 2023
1e6e889
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 9, 2023
25faf14
More documentation and debug output.
rickyloynd-microsoft Oct 10, 2023
66f4c61
Support retrieval of any number of relevant memos, including zero.
rickyloynd-microsoft Oct 10, 2023
e796832
More robust analysis separator.
rickyloynd-microsoft Oct 11, 2023
b31141f
cleanup
rickyloynd-microsoft Oct 11, 2023
18387a7
teach_config
rickyloynd-microsoft Oct 11, 2023
0f49f0d
refactoring
rickyloynd-microsoft Oct 11, 2023
09fde25
For robustness, allow more flexibility on memo storage and retrieval.
rickyloynd-microsoft Oct 11, 2023
adac582
de-dupe the retrieved memos.
rickyloynd-microsoft Oct 11, 2023
94d8ba0
Simplify AnalysisAgent. The unit tests now pass with gpt-3.5
rickyloynd-microsoft Oct 12, 2023
30503bf
comments
rickyloynd-microsoft Oct 12, 2023
4d2cedd
Add a verbosity level to control analyzer messages.
rickyloynd-microsoft Oct 12, 2023
8a15d0a
refactoring
rickyloynd-microsoft Oct 12, 2023
4806eef
comments
rickyloynd-microsoft Oct 12, 2023
86e9e04
Persist memory on disk.
rickyloynd-microsoft Oct 13, 2023
60bd4c2
cleanup
rickyloynd-microsoft Oct 14, 2023
5f0075b
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 14, 2023
b0ee207
Use markdown to format retrieved memos.
rickyloynd-microsoft Oct 16, 2023
260962d
Use markdown in TextAnalyzerAgent
rickyloynd-microsoft Oct 16, 2023
0da73a3
Add another verbosity level.
rickyloynd-microsoft Oct 16, 2023
15bd56b
clean up logging
rickyloynd-microsoft Oct 16, 2023
cd4cd8f
notebook
rickyloynd-microsoft Oct 17, 2023
ec49ae0
minor edits
rickyloynd-microsoft Oct 17, 2023
d16c368
cleanup
rickyloynd-microsoft Oct 18, 2023
0b24af1
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 18, 2023
2467673
linter fixes
rickyloynd-microsoft Oct 18, 2023
bfc0bc0
Skip tests that fail to import openai
rickyloynd-microsoft Oct 18, 2023
d9c3917
Merge branch 'main' into ricky
thinkall Oct 18, 2023
0974280
Merge branch 'main' into ricky
thinkall Oct 19, 2023
4d90351
Address reviewer feedback.
rickyloynd-microsoft Oct 19, 2023
08c0777
Merge branch 'ricky' of https://github.com/microsoft/autogen into ricky
rickyloynd-microsoft Oct 19, 2023
88d4f95
lint
rickyloynd-microsoft Oct 19, 2023
f1248ed
refactoring
rickyloynd-microsoft Oct 19, 2023
29abbba
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 19, 2023
ea14315
Improve wording
rickyloynd-microsoft Oct 19, 2023
2f99801
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 19, 2023
aef35be
Improve code coverage.
rickyloynd-microsoft Oct 19, 2023
a6eda5d
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 19, 2023
a47e504
lint
rickyloynd-microsoft Oct 19, 2023
a756179
Use llm_config to control caching.
rickyloynd-microsoft Oct 20, 2023
96131a8
lowercase notebook name
rickyloynd-microsoft Oct 20, 2023
08d2000
Sort out the parameters passed through to ConversableAgent, and suppl…
rickyloynd-microsoft Oct 20, 2023
3183c27
lint
rickyloynd-microsoft Oct 20, 2023
da25199
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 20, 2023
c033af8
Allow TextAnalyzerAgent to be given a different llm_config than Teach…
rickyloynd-microsoft Oct 20, 2023
92dc0f6
documentation
rickyloynd-microsoft Oct 20, 2023
848f969
Merge branch 'ricky' of https://github.com/microsoft/autogen into ricky
rickyloynd-microsoft Oct 20, 2023
e13b7cb
Merge branch 'main' into ricky
rickyloynd-microsoft Oct 20, 2023
859acc5
Modifications to run openai workflow.
rickyloynd-microsoft Oct 20, 2023
e13d512
Merge branch 'main' into ricky
sonichi Oct 21, 2023
2745276
Test on just python 3.10.
rickyloynd-microsoft Oct 21, 2023
de17a4e
Merge branch 'ricky' of https://github.com/microsoft/autogen into ricky
rickyloynd-microsoft Oct 21, 2023
ff4a369
Test on python 3.9 instead of 3.10.
rickyloynd-microsoft Oct 21, 2023
f962f45
Remove space from name -> teachableagent
rickyloynd-microsoft Oct 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autogen/agentchat/contrib/teachable_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TeachableAgent(ConversableAgent):

def __init__(
self,
name="Agent",
name="teachable agent",
rickyloynd-microsoft marked this conversation as resolved.
Show resolved Hide resolved
system_message: Optional[
str
] = "You are a helpful AI assistant that remembers user teachings from prior chats.",
Expand Down
2 changes: 1 addition & 1 deletion autogen/agentchat/contrib/text_analyzer_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TextAnalyzerAgent(ConversableAgent):

def __init__(
self,
name="Analyzer",
name="analyzer",
system_message: Optional[str] = system_message,
human_input_mode: Optional[str] = "NEVER",
llm_config: Optional[Union[Dict, bool]] = None,
Expand Down
Loading
Loading