translation body update
This commit is contained in:
@@ -42,10 +42,12 @@ type StoredDocument struct {
|
||||
// TranslateRequest represents the request payload sent to the AI service
|
||||
// POST /ai/translate endpoint.
|
||||
type TranslateRequest struct {
|
||||
NoticeID string `json:"notice_id"` // required
|
||||
Title string `json:"title"` // required
|
||||
Description string `json:"description"` // required
|
||||
Language string `json:"language,omitempty"` // optional target language override
|
||||
NoticeID string `json:"notice_id"` // required (TED-style notice key)
|
||||
ContractFolderID string `json:"contract_folder_id"` // required by AI service (procedure / MinIO prefix)
|
||||
NoticePublicationID string `json:"notice_publication_id"` // required by AI service
|
||||
Title string `json:"title"` // required
|
||||
Description string `json:"description"` // required
|
||||
Language string `json:"language,omitempty"` // optional target language override
|
||||
}
|
||||
|
||||
// TranslateResponse represents the response from the AI translation API.
|
||||
|
||||
Reference in New Issue
Block a user