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

Modified prompt to show Indian Stocks on .NS ticker #13

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions Claude_Investor.ipynb
Expand Up @@ -259,7 +259,8 @@
" return response_text\n",
"\n",
"def generate_ticker_ideas(industry):\n",
" system_prompt = f\"You are a financial analyst assistant. Generate a list of 5 ticker symbols for major companies in the {industry} industry, as a Python-parseable list.\"\n",
" system_prompt = f\"You are a financial analyst assistant with knowledge of global and Indian markets. Generate a list of 5 ticker symbols for major companies in the {industry} industry within India, as a Python-parseable list. Focus on companies listed on Indian stock exchanges such as NSE or BSE.\"\n",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But what if they are interested in a non- Indian market , Better maybe include an option for Country as a input from User

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check Latest commit


"\n",
" messages = [\n",
" {\"role\": \"user\", \"content\": f\"Please provide a list of 5 ticker symbols for major companies in the {industry} industry as a Python-parseable list. Only respond with the list, no other text.\"},\n",
Expand Down Expand Up @@ -360,4 +361,4 @@
"outputs": []
}
]
}
}