Create Prompt Template With Version
Changed onFor a given project, create a prompt template.
We first create a prompt template version, and then create a prompt template that points to that version as the selected version.
Parameters
project_id : UUID4 Project ID. create_request : CreatePromptTemplateWithVersionRequestBody, optional Request body, by default Body( ..., examples= [BasePromptTemplateVersion.test_data() | BasePromptTemplate.test_data()], )
Returns
CreatePromptTemplateResponse Details about the created prompt template.
Request
- Base URLhttps://api.galileo.ai
- URLhttps://api.galileo.ai/projects/{project_id}/templates
- Auth
- API key in header Splunk-AO-API-Key
- or API key in header Galileo-API-Key
- or OAuth 2PasswordToken URL: https://api.galileo.ai/login
- or HTTP basic
Path parameters
Request body
Response
Successful Response
Changes
- breaking
removed the enum value
vegas_gatewayof the request property/// - warning
added the new
read_all_logsenum value to the///response property for the response status - warning
added the new
read_filtered_logsenum value to the///response property for the response status
- breaking
- info
added the new optional request property
///
- info