prompts
Create Global Prompt Template
Changed onCreate a global prompt template.
Parameters
create_request : CreatePromptTemplateWithVersionRequestBody Request body containing template name and content. principal : Principal Principal object.
Returns
BasePromptTemplateResponse Details about the created prompt template.
post/templates
Request
- Base URLhttps://api.galileo.ai
- URLhttps://api.galileo.ai/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
Query parameters
project_idstring uuid4 nullable
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