-
Notifications
You must be signed in to change notification settings - Fork 1
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
FS-109/Add Report to Prompt #57
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies, there's been confusion with the ticket, I'll update the ticket to be more clear
@@ -1,4 +1,4 @@ | |||
description: "Intent" | |||
description: 'Intent' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As commented on the other PR, can we keep these as double quotes for now?
user_prompt_template: 'intent' | ||
user_prompt_args: | ||
chat_history: [] | ||
question: 'provide a list of companies with the highest ESG scores in the Technology sector?' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this relevant to this PR?
backend/src/session/file_uploads.py
Outdated
@@ -83,6 +83,20 @@ def clear_session_file_uploads(): | |||
set_session(UPLOADS_META_SESSION_KEY, []) | |||
|
|||
|
|||
def get_uploaded_file_content() -> str | None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, unfortunately I think there has been some confusion with this ticket, I'll update the ticket to be more clear. "Report" was meant to be the report generated for the user by the Report Agent / report flow, not the file that was uploaded (whilst we have been commonly testing InferESG with Sustainability Reports, we have been describing these input files as "Narrative Files")
@@ -13,7 +13,7 @@ | |||
engine = PromptEngine() | |||
|
|||
|
|||
async def search_urls(search_query, num_results=10) -> str: | |||
async def search_urls(search_query, num_results=30) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be part of this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IMladjenovic - This MR is on top of the Web agent one...and the web agent one is yet to me merged back to the main..
How should I handle it?
Description
This change is for the ticket FS-109, and to add report to Intent and Suggestions agent.
Changelog