Skip to content

Commit

Permalink
support v2 prompt (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZingLix authored Jun 20, 2024
1 parent 85833dc commit 23858c5
Show file tree
Hide file tree
Showing 2 changed files with 454 additions and 2 deletions.
10 changes: 10 additions & 0 deletions python/qianfan/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,16 @@ class Consts:
PromptGetOptimizeTaskInfoAPI: str = "/wenxinworkshop/prompt/singleOptimize/info"
PromptEvaluationAPI: str = "/wenxinworkshop/prompt/evaluate/predict"
PromptEvaluationSummaryAPI: str = "/wenxinworkshop/prompt/evaluate/summary"
PromptV2BaseRouteAPI: str = "/v2/promptTemplates"
PromptCreateAction: str = "CreatePromptTemplate"
PromptInfoAction: str = "DescribePromptTemplate"
PromptUpdateAction: str = "ModifyPromptTemplate"
PromptDeleteAction: str = "DeletePromptTemplate"
PromptListAction: str = "DescribePromptTemplates"
PromptV2LabelBaseRouteAPI: str = "/v2/promptLabels"
PromptDeleteLabelAction: str = "DeletePromptLabel"
PromptCreateLabelAction: str = "CreatePromptLabel"
PromptGetLabelsAction: str = "DescribePromptLabels"
AppListAPI: str = "/wenxinworkshop/service/appList"
EBTokenizerAPI: str = "/rpc/2.0/ai_custom/v1/wenxinworkshop/tokenizer/erniebot"

Expand Down
Loading

0 comments on commit 23858c5

Please sign in to comment.