Skip to content

Document /prompt and /resend endpoints in README#84

Merged
goldlabelapps merged 4 commits intomasterfrom
staging
Apr 13, 2026
Merged

Document /prompt and /resend endpoints in README#84
goldlabelapps merged 4 commits intomasterfrom
staging

Conversation

@goldlabelapps
Copy link
Copy Markdown
Owner

Update README to reflect API changes: clarify prompt handling via /prompt (formerly /llm), add /resend endpoint for sending email via the Resend API (implementation at app/utils/notify/resend.py), and list prospects endpoints including POST /prospects/process for bulk CSV ingestion. Also add a Notable Endpoints section and minor formatting tweaks.

Update README to reflect API changes: clarify prompt handling via /prompt (formerly /llm), add /resend endpoint for sending email via the Resend API (implementation at app/utils/notify/resend.py), and list prospects endpoints including POST /prospects/process for bulk CSV ingestion. Also add a Notable Endpoints section and minor formatting tweaks.
Bump package version to 2.2.3, delete obsolete prompt-related SQL migration files and their runner/cleanup scripts under app/api/prompt/sql (prompt_code, prospect_id, search_vector, type column, and empty/run helpers). Also update README heading from 'Getting Started' to 'Install & Use' and rename app/api/prospects/LinkedInConnections.csv to app/api/prospects/linkedin.csv to standardize naming. These changes remove unused migration artifacts and tidy repository structure.
Introduce a new POST /prompt/linkedin stub (app/api/prompt/linkedin.py) that requires API key auth and returns a success meta payload. Register the new router in app/api/routes.py and update app/api/prompt/__init__.py imports. Update the root API index (app/api/root.py) to include the LinkedIn prompt entry and adjust the Prompt/Orders/Prospects listings to reflect the new endpoints.
Migrate storage and API from 'llm' to 'prompt': update SQL create table, change all queries/inserts to use prompt, remove tsvector/search_vector usage, and update logging/meta messages. Add drop_llm_table.sql to clean up old table. Enhance POST /prompt/linkedin to check the prompt table for a cached completion by linkedinUrl (returns cached result or a warning if not found). Update prospects endpoint to fetch related prompt_records instead of llm_records and adjust returned fields. Minor docstring and metadata text updates.
@goldlabelapps goldlabelapps merged commit 9d6ced6 into master Apr 13, 2026
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.

1 participant