-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create Strategy Agent Workflow #29
Conversation
85defad
to
99e3c14
Compare
|
||
alter table "public"."applications" validate constraint "applications_project_id_fkey"; | ||
|
||
grant delete on table "public"."applications" to "anon"; |
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 there not a simpler way to write all of these?
0.76, | ||
0.45 | ||
) | ||
def save_strategy_to_db(supabase: Client, run_id: str, entries: list[WeightedProject]): |
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.
Can we move these to the db dir? (e.g. inside operations.py)
lambda: logs.insert( | ||
supabase, | ||
run_id, | ||
"Determining the relative funding that the best matching projects need", | ||
), | ||
) | ||
|
||
json_weighted_projects: list[WeightedProject] = await step.run( |
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.
Isn't this a list[dict] actually?
"project_id": entry.project.id | ||
} for entry in entries]).execute() | ||
|
||
def fetch_projects_data(supabase: Client): |
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.
Return type por favor
|
||
|
||
def extract_prompt(supabase: Client, run_id: 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.
Return type por favor
No description provided.