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

Create Strategy Agent Workflow #29

Merged
merged 19 commits into from
Jan 23, 2024
Merged

Create Strategy Agent Workflow #29

merged 19 commits into from
Jan 23, 2024

Conversation

namesty
Copy link
Contributor

@namesty namesty commented Jan 22, 2024

No description provided.

@namesty namesty changed the title [WIP] Create Strategy Agent Workflow Create Strategy Agent Workflow Jan 23, 2024
@cbrzn cbrzn force-pushed the namesty/agent-with-inngest branch from 85defad to 99e3c14 Compare January 23, 2024 16:36

alter table "public"."applications" validate constraint "applications_project_id_fkey";

grant delete on table "public"."applications" to "anon";
Copy link
Contributor

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]):
Copy link
Contributor

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(
Copy link
Contributor

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):
Copy link
Contributor

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):
Copy link
Contributor

Choose a reason for hiding this comment

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

Return type por favor

@dOrgJelli dOrgJelli merged commit 64cad78 into dev Jan 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants