Document /prompt and /resend endpoints in README#84
Merged
goldlabelapps merged 4 commits intomasterfrom Apr 13, 2026
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.