This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Text Summarizer</title> | |
<style> | |
body { | |
font-family: sans-serif; | |
} | |
textarea { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Issue Tracker</title> | |
<style> | |
table { | |
border-collapse: collapse; | |
width: 100%; | |
} | |
th, td { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from autogen import GroupChat | |
from autogen import GroupChatManager | |
import autogen | |
import pprint | |
config_list_gemini = autogen.config_list_from_json("model_config.json") | |
user_proxy = autogen.UserProxyAgent( | |
name="User_proxy", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from autogen import ConversableAgent | |
import autogen | |
config_list_gemini = autogen.config_list_from_json("model_config.json") | |
article_processor_agent = ConversableAgent( | |
name="Exam Paper Processor Agent", | |
llm_config = {"config_list" : config_list_gemini}, | |
human_input_mode = "NEVER", | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from autogen import ConversableAgent | |
import autogen | |
import pprint | |
config_list_gemini = autogen.config_list_from_json("model_config.json") | |
article_processor_agent = ConversableAgent( | |
name="Article Processor Agent", | |
llm_config = {"config_list" : config_list_gemini}, | |
human_input_mode = "NEVER", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------ summary ------ | |
{'audio': None, | |
'content': 'Albert Einstein\'s quote "Strive not to be a success, but rather ' | |
'to be of value" encourages a shift from seeking external ' | |
'validation to making a positive impact on the world. It ' | |
'emphasizes intrinsic motivation, long-term contributions, and the ' | |
'importance of defining "value" in a way that aligns with personal ' | |
'passions and goals. The quote transcends specific professions and ' | |
'can be applied to various fields, prompting businesses to ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from autogen import ConversableAgent | |
import autogen | |
config_list_gemini = autogen.config_list_from_json("model_config.json") | |
quote_writer = ConversableAgent( | |
name="Quote Generator", | |
system_message="Your task is to provide famous quotes", | |
llm_config = {"config_list" : config_list_gemini}, | |
code_execution_config = False, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Blog Post Reviews</title> | |
<style> | |
table { | |
border-collapse: collapse; | |
width: 100%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from autogen import ConversableAgent | |
import autogen | |
config_list_local_llm = [ | |
{ | |
"model": "gemma", | |
"base_url": "http://localhost:11434/v1", | |
"api_key": "ollama", | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from autogen import ConversableAgent | |
import autogen | |
# Configure Gemini models | |
config_list_gemini = autogen.config_list_from_json("model_config.json") | |
human = ConversableAgent( | |
name="Human", | |
llm_config=False, | |
human_input_mode="ALWAYS", |
NewerOlder