Skip to content

update reference #54

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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 finrobot/functional/coding.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def display_image(
return log


class CodingUtils: # Borrowed from https://microsoft.github.io/autogen/docs/notebooks/agentchat_function_call_code_writing
class CodingUtils: # Borrowed from https://docs.ag2.ai/notebooks/agentchat_function_call_code_writing#writing-a-software-application-using-function-calls

def list_dir(directory: Annotated[str, "Directory to check."]) -> str:
"""
Expand Down
4 changes: 2 additions & 2 deletions tutorials_advanced/agent_fingpt_forecaster.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"In this demo, we set up an agent to emulate the behavior of model in the fingpt-forecaster project with AutoGen, which takes a company's ticker symbol, recent basic financials and market news as input and predict its stock movements.\n",
"In this demo, we set up an agent to emulate the behavior of model in the fingpt-forecaster project with AG2 (Formerly AutoGen), which takes a company's ticker symbol, recent basic financials and market news as input and predict its stock movements.\n",
"\n",
"For detail of the original project, check out [FinGPT-Forecaster](https://github.com/AI4Finance-Foundation/FinGPT/tree/master/fingpt/FinGPT_Forecaster)! 🔥[Demo](https://huggingface.co/spaces/FinGPT/FinGPT-Forecaster), [Medium Blog](https://medium.datadriveninvestor.com/introducing-fingpt-forecaster-the-future-of-robo-advisory-services-50add34e3d3c) & [Model](https://huggingface.co/FinGPT/fingpt-forecaster_dow30_llama2-7b_lora) on Huggingface🤗!"
]
Expand All @@ -33,7 +33,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"After importing all the necessary packages and functions, we first instantiate a market analysis assistant and a user proxy using the agent classes defined by AutoGen. We also need the config for OpenAI & Finnhub here. \n",
"After importing all the necessary packages and functions, we first instantiate a market analysis assistant and a user proxy using the agent classes defined by AG2. We also need the config for OpenAI & Finnhub here. \n",
"- for openai configuration, rename OAI_CONFIG_LIST_sample to OAI_CONFIG_LIST and replace the api keys\n",
"- for finnhub configuration, rename config_api_keys_sample to config_api_keys and replace the api keys"
]
Expand Down