Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create delete_parameter endpoint (#691)
Create delete_parameter endpoint TSIA ## Test Plan Follow dev README to setup the local editor: https://github.com/lastmile-ai/aiconfig/tree/main/python/src/aiconfig/editor#dev, then run this command ``` curl http://localhost:8080/api/delete_parameter -d '{"prompt_name":"get_activities", "parameter_name": "city"}' -X POST -H 'Content-Type: application/json' ``` Notice that the parameters are now deleted Prompt-level https://github.com/lastmile-ai/aiconfig/assets/151060367/866db51d-6b84-438d-ac4e-483d0cfbaa40 AIConfig-level https://github.com/lastmile-ai/aiconfig/assets/151060367/dcd47f62-875c-40ac-9e81-efcd8cf9b45a --- Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/lastmile-ai/aiconfig/pull/691). * #693 * #692 * __->__ #691 * #690 * #688 * #670 * #668
- Loading branch information