| 1 | package Langertha::Spec::Mistral; | ||||||||||||
| 2 | # ABSTRACT: Pre-computed OpenAPI operations for Mistral | ||||||||||||
| 3 | 2 | our $VERSION = '0.502'; | |||||||||||
| 4 | |||||||||||||
| 5 | # AUTO-GENERATED by maint/generate_spec_data.pl -- do not edit manually. | ||||||||||||
| 6 | # Source: share/mistral.yaml (67 operations) | ||||||||||||
| 7 | |||||||||||||
| 8 | 2 | my $DATA; | |||||||||||
| 9 | |||||||||||||
| 10 | sub data { | ||||||||||||
| 11 | 2 | ▶ | $DATA //= { | ||||||||||
|
Subroutine
data: called CC=2 SCAR=7.2
Pod
undocumented
Condition50%1/2
$DATA //= {"server_url", "https://api.mistral.ai", "operations", {"agents_api_v1_agents_create", {"method", "POST", "path", "/v1/agents", "content_type", "application/json"}, "agents_api_v1_agents_create_or_update_alias", {"method", "PUT", "path", "/v1/agents/{agent_id}/aliases"}, "agents_api_v1_agents_delete", {"method", "DELETE", "path", "/v1/agents/{agent_id}"}, "agents_api_v1_agents_get", {"method", "GET", "path", "/v1/agents/{agent_id}"}, "agents_api_v1_agents_get_version", {"method", "GET", "path", "/v1/agents/{agent_id}/versions/{version}"}, "agents_api_v1_agents_list", {"method", "GET", "path", "/v1/agents"}, "agents_api_v1_agents_list_version_aliases", {"method", "GET", "path", "/v1/agents/{agent_id}/aliases"}, "agents_api_v1_agents_list_versions", {"method", "GET", "path", "/v1/agents/{agent_id}/versions"}, "agents_api_v1_agents_update", {"method", "PATCH", "path", "/v1/agents/{agent_id}", "content_type", "application/json"}, "agents_api_v1_agents_update_version", {"method", "PATCH", "path", "/v1/agents/{agent_id}/version"}, "agents_api_v1_conversations_append", {"method", "POST", "path", "/v1/conversations/{conversation_id}", "content_type", "application/json"}, "agents_api_v1_conversations_delete", {"method", "DELETE", "path", "/v1/conversations/{conversation_id}"}, "agents_api_v1_conversations_get", {"method", "GET", "path", "/v1/conversations/{conversation_id}"}, "agents_api_v1_conversations_history", {"method", "GET", "path", "/v1/conversations/{conversation_id}/history"}, "agents_api_v1_conversations_list", {"method", "GET", "path", "/v1/conversations"}, "agents_api_v1_conversations_messages", {"method", "GET", "path", "/v1/conversations/{conversation_id}/messages"}, "agents_api_v1_conversations_restart", {"method", "POST", "path", "/v1/conversations/{conversation_id}/restart", "content_type", "application/json"}, "agents_api_v1_conversations_start", {"method", "POST", "path", "/v1/conversations", "content_type", "application/json"}, "agents_completion_v1_agents_completions_post", {"method", "POST", "path", "/v1/agents/completions", "content_type", "application/json"}, "audio_api_v1_transcriptions_post", {"method", "POST", "path", "/v1/audio/transcriptions", "content_type", "multipart/form-data"}, "chat_classifications_v1_chat_classifications_post", {"method", "POST", "path", "/v1/chat/classifications", "content_type", "application/json"}, "chat_completion_v1_chat_completions_post", {"method", "POST", "path", "/v1/chat/completions", "content_type", "application/json"}, "chat_moderations_v1_chat_moderations_post", {"method", "POST", "path", "/v1/chat/moderations", "content_type", "application/json"}, "classifications_v1_classifications_post", {"method", "POST", "path", "/v1/classifications", "content_type", "application/json"}, "delete_model_v1_models__model_id__delete", {"method", "DELETE", "path", "/v1/models/{model_id}"}, "embeddings_v1_embeddings_post", {"method", "POST", "path", "/v1/embeddings", "content_type", "application/json"}, "files_api_routes_delete_file", {"method", "DELETE", "path", "/v1/files/{file_id}"}, "files_api_routes_download_file", {"method", "GET", "path", "/v1/files/{file_id}/content"}, "files_api_routes_get_signed_url", {"method", "GET", "path", "/v1/files/{file_id}/url"}, "files_api_routes_list_files", {"method", "GET", "path", "/v1/files"}, "files_api_routes_retrieve_file", {"method", "GET", "path", "/v1/files/{file_id}"}, "files_api_routes_upload_file", {"method", "POST", "path", "/v1/files", "content_type", "multipart/form-data"}, "fim_completion_v1_fim_completions_post", {"method", "POST", "path", "/v1/fim/completions", "content_type", "application/json"}, "jobs_api_routes_batch_cancel_batch_job", {"method", "POST", "path", "/v1/batch/jobs/{job_id}/cancel"}, "jobs_api_routes_batch_create_batch_job", {"method", "POST", "path", "/v1/batch/jobs", "content_type", "application/json"}, "jobs_api_routes_batch_get_batch_job", {"method", "GET", "path", "/v1/batch/jobs/{job_id}"}, "jobs_api_routes_batch_get_batch_jobs", {"method", "GET", "path", "/v1/batch/jobs"}, "jobs_api_routes_fine_tuning_archive_fine_tuned_model", {"method", "POST", "path", "/v1/fine_tuning/models/{model_id}/archive"}, "jobs_api_routes_fine_tuning_cancel_fine_tuning_job", {"method", "POST", "path", "/v1/fine_tuning/jobs/{job_id}/cancel"}, "jobs_api_routes_fine_tuning_create_fine_tuning_job", {"method", "POST", "path", "/v1/fine_tuning/jobs", "content_type", "application/json"}, "jobs_api_routes_fine_tuning_get_fine_tuning_job", {"method", "GET", "path", "/v1/fine_tuning/jobs/{job_id}"}, "jobs_api_routes_fine_tuning_get_fine_tuning_jobs", {"method", "GET", "path", "/v1/fine_tuning/jobs"}, "jobs_api_routes_fine_tuning_start_fine_tuning_job", {"method", "POST", "path", "/v1/fine_tuning/jobs/{job_id}/start"}, "jobs_api_routes_fine_tuning_unarchive_fine_tuned_model", {"method", "DELETE", "path", "/v1/fine_tuning/models/{model_id}/archive"}, "jobs_api_routes_fine_tuning_update_fine_tuned_model", {"method", "PATCH", "path", "/v1/fine_tuning/models/{model_id}", "content_type", "application/json"}, "libraries_create_v1", {"method", "POST", "path", "/v1/libraries", "content_type", "application/json"}, "libraries_delete_v1", {"method", "DELETE", "path", "/v1/libraries/{library_id}"}, "libraries_documents_delete_v1", {"method", "DELETE", "path", "/v1/libraries/{library_id}/documents/{document_id}"}, "libraries_documents_get_extracted_text_signed_url_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url"}, "libraries_documents_get_signed_url_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}/signed-url"}, "libraries_documents_get_status_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}/status"}, "libraries_documents_get_text_content_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}/text_content"}, "libraries_documents_get_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}"}, "libraries_documents_list_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents"}, "libraries_documents_reprocess_v1", {"method", "POST", "path", "/v1/libraries/{library_id}/documents/{document_id}/reprocess"}, "libraries_documents_update_v1", {"method", "PUT", "path", "/v1/libraries/{library_id}/documents/{document_id}", "content_type", "application/json"}, "libraries_documents_upload_v1", {"method", "POST", "path", "/v1/libraries/{library_id}/documents", "content_type", "multipart/form-data"}, "libraries_get_v1", {"method", "GET", "path", "/v1/libraries/{library_id}"}, "libraries_list_v1", {"method", "GET", "path", "/v1/libraries"}, "libraries_share_create_v1", {"method", "PUT", "path", "/v1/libraries/{library_id}/share", "content_type", "application/json"}, "libraries_share_delete_v1", {"method", "DELETE", "path", "/v1/libraries/{library_id}/share", "content_type", "application/json"}, "libraries_share_list_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/share"}, "libraries_update_v1", {"method", "PUT", "path", "/v1/libraries/{library_id}", "content_type", "application/json"}, "list_models_v1_models_get", {"method", "GET", "path", "/v1/models"}, "moderations_v1_moderations_post", {"method", "POST", "path", "/v1/moderations", "content_type", "application/json"}, "ocr_v1_ocr_post", {"method", "POST", "path", "/v1/ocr", "content_type", "application/json"}, "retrieve_model_v1_models__model_id__get", {"method", "GET", "path", "/v1/models/{model_id}"}}}
MC/DC0%0/1
$DATA //= {"server_url", "https://api.mistral.ai", "operations", {"agents_api_v1_agents_create", {"method", "POST", "path", "/v1/agents", "content_type", "application/json"}, "agents_api_v1_agents_create_or_update_alias", {"method", "PUT", "path", "/v1/agents/{agent_id}/aliases"}, "agents_api_v1_agents_delete", {"method", "DELETE", "path", "/v1/agents/{agent_id}"}, "agents_api_v1_agents_get", {"method", "GET", "path", "/v1/agents/{agent_id}"}, "agents_api_v1_agents_get_version", {"method", "GET", "path", "/v1/agents/{agent_id}/versions/{version}"}, "agents_api_v1_agents_list", {"method", "GET", "path", "/v1/agents"}, "agents_api_v1_agents_list_version_aliases", {"method", "GET", "path", "/v1/agents/{agent_id}/aliases"}, "agents_api_v1_agents_list_versions", {"method", "GET", "path", "/v1/agents/{agent_id}/versions"}, "agents_api_v1_agents_update", {"method", "PATCH", "path", "/v1/agents/{agent_id}", "content_type", "application/json"}, "agents_api_v1_agents_update_version", {"method", "PATCH", "path", "/v1/agents/{agent_id}/version"}, "agents_api_v1_conversations_append", {"method", "POST", "path", "/v1/conversations/{conversation_id}", "content_type", "application/json"}, "agents_api_v1_conversations_delete", {"method", "DELETE", "path", "/v1/conversations/{conversation_id}"}, "agents_api_v1_conversations_get", {"method", "GET", "path", "/v1/conversations/{conversation_id}"}, "agents_api_v1_conversations_history", {"method", "GET", "path", "/v1/conversations/{conversation_id}/history"}, "agents_api_v1_conversations_list", {"method", "GET", "path", "/v1/conversations"}, "agents_api_v1_conversations_messages", {"method", "GET", "path", "/v1/conversations/{conversation_id}/messages"}, "agents_api_v1_conversations_restart", {"method", "POST", "path", "/v1/conversations/{conversation_id}/restart", "content_type", "application/json"}, "agents_api_v1_conversations_start", {"method", "POST", "path", "/v1/conversations", "content_type", "application/json"}, "agents_completion_v1_agents_completions_post", {"method", "POST", "path", "/v1/agents/completions", "content_type", "application/json"}, "audio_api_v1_transcriptions_post", {"method", "POST", "path", "/v1/audio/transcriptions", "content_type", "multipart/form-data"}, "chat_classifications_v1_chat_classifications_post", {"method", "POST", "path", "/v1/chat/classifications", "content_type", "application/json"}, "chat_completion_v1_chat_completions_post", {"method", "POST", "path", "/v1/chat/completions", "content_type", "application/json"}, "chat_moderations_v1_chat_moderations_post", {"method", "POST", "path", "/v1/chat/moderations", "content_type", "application/json"}, "classifications_v1_classifications_post", {"method", "POST", "path", "/v1/classifications", "content_type", "application/json"}, "delete_model_v1_models__model_id__delete", {"method", "DELETE", "path", "/v1/models/{model_id}"}, "embeddings_v1_embeddings_post", {"method", "POST", "path", "/v1/embeddings", "content_type", "application/json"}, "files_api_routes_delete_file", {"method", "DELETE", "path", "/v1/files/{file_id}"}, "files_api_routes_download_file", {"method", "GET", "path", "/v1/files/{file_id}/content"}, "files_api_routes_get_signed_url", {"method", "GET", "path", "/v1/files/{file_id}/url"}, "files_api_routes_list_files", {"method", "GET", "path", "/v1/files"}, "files_api_routes_retrieve_file", {"method", "GET", "path", "/v1/files/{file_id}"}, "files_api_routes_upload_file", {"method", "POST", "path", "/v1/files", "content_type", "multipart/form-data"}, "fim_completion_v1_fim_completions_post", {"method", "POST", "path", "/v1/fim/completions", "content_type", "application/json"}, "jobs_api_routes_batch_cancel_batch_job", {"method", "POST", "path", "/v1/batch/jobs/{job_id}/cancel"}, "jobs_api_routes_batch_create_batch_job", {"method", "POST", "path", "/v1/batch/jobs", "content_type", "application/json"}, "jobs_api_routes_batch_get_batch_job", {"method", "GET", "path", "/v1/batch/jobs/{job_id}"}, "jobs_api_routes_batch_get_batch_jobs", {"method", "GET", "path", "/v1/batch/jobs"}, "jobs_api_routes_fine_tuning_archive_fine_tuned_model", {"method", "POST", "path", "/v1/fine_tuning/models/{model_id}/archive"}, "jobs_api_routes_fine_tuning_cancel_fine_tuning_job", {"method", "POST", "path", "/v1/fine_tuning/jobs/{job_id}/cancel"}, "jobs_api_routes_fine_tuning_create_fine_tuning_job", {"method", "POST", "path", "/v1/fine_tuning/jobs", "content_type", "application/json"}, "jobs_api_routes_fine_tuning_get_fine_tuning_job", {"method", "GET", "path", "/v1/fine_tuning/jobs/{job_id}"}, "jobs_api_routes_fine_tuning_get_fine_tuning_jobs", {"method", "GET", "path", "/v1/fine_tuning/jobs"}, "jobs_api_routes_fine_tuning_start_fine_tuning_job", {"method", "POST", "path", "/v1/fine_tuning/jobs/{job_id}/start"}, "jobs_api_routes_fine_tuning_unarchive_fine_tuned_model", {"method", "DELETE", "path", "/v1/fine_tuning/models/{model_id}/archive"}, "jobs_api_routes_fine_tuning_update_fine_tuned_model", {"method", "PATCH", "path", "/v1/fine_tuning/models/{model_id}", "content_type", "application/json"}, "libraries_create_v1", {"method", "POST", "path", "/v1/libraries", "content_type", "application/json"}, "libraries_delete_v1", {"method", "DELETE", "path", "/v1/libraries/{library_id}"}, "libraries_documents_delete_v1", {"method", "DELETE", "path", "/v1/libraries/{library_id}/documents/{document_id}"}, "libraries_documents_get_extracted_text_signed_url_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url"}, "libraries_documents_get_signed_url_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}/signed-url"}, "libraries_documents_get_status_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}/status"}, "libraries_documents_get_text_content_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}/text_content"}, "libraries_documents_get_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents/{document_id}"}, "libraries_documents_list_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/documents"}, "libraries_documents_reprocess_v1", {"method", "POST", "path", "/v1/libraries/{library_id}/documents/{document_id}/reprocess"}, "libraries_documents_update_v1", {"method", "PUT", "path", "/v1/libraries/{library_id}/documents/{document_id}", "content_type", "application/json"}, "libraries_documents_upload_v1", {"method", "POST", "path", "/v1/libraries/{library_id}/documents", "content_type", "multipart/form-data"}, "libraries_get_v1", {"method", "GET", "path", "/v1/libraries/{library_id}"}, "libraries_list_v1", {"method", "GET", "path", "/v1/libraries"}, "libraries_share_create_v1", {"method", "PUT", "path", "/v1/libraries/{library_id}/share", "content_type", "application/json"}, "libraries_share_delete_v1", {"method", "DELETE", "path", "/v1/libraries/{library_id}/share", "content_type", "application/json"}, "libraries_share_list_v1", {"method", "GET", "path", "/v1/libraries/{library_id}/share"}, "libraries_update_v1", {"method", "PUT", "path", "/v1/libraries/{library_id}", "content_type", "application/json"}, "list_models_v1_models_get", {"method", "GET", "path", "/v1/models"}, "moderations_v1_moderations_post", {"method", "POST", "path", "/v1/moderations", "content_type", "application/json"}, "ocr_v1_ocr_post", {"method", "POST", "path", "/v1/ocr", "content_type", "application/json"}, "retrieve_model_v1_models__model_id__get", {"method", "GET", "path", "/v1/models/{model_id}"}}}
$DATA
Truth table50%1/2
A
A= $DATA
| |||||||||||||
| 12 | server_url => 'https://api.mistral.ai', | ||||||||||||
| 13 | operations => { | ||||||||||||
| 14 | 'agents_api_v1_agents_create' => { method => 'POST', path => '/v1/agents', content_type => 'application/json' }, | ||||||||||||
| 15 | 'agents_api_v1_agents_create_or_update_alias' => { method => 'PUT', path => '/v1/agents/{agent_id}/aliases' }, | ||||||||||||
| 16 | 'agents_api_v1_agents_delete' => { method => 'DELETE', path => '/v1/agents/{agent_id}' }, | ||||||||||||
| 17 | 'agents_api_v1_agents_get' => { method => 'GET', path => '/v1/agents/{agent_id}' }, | ||||||||||||
| 18 | 'agents_api_v1_agents_get_version' => { method => 'GET', path => '/v1/agents/{agent_id}/versions/{version}' }, | ||||||||||||
| 19 | 'agents_api_v1_agents_list' => { method => 'GET', path => '/v1/agents' }, | ||||||||||||
| 20 | 'agents_api_v1_agents_list_version_aliases' => { method => 'GET', path => '/v1/agents/{agent_id}/aliases' }, | ||||||||||||
| 21 | 'agents_api_v1_agents_list_versions' => { method => 'GET', path => '/v1/agents/{agent_id}/versions' }, | ||||||||||||
| 22 | 'agents_api_v1_agents_update' => { method => 'PATCH', path => '/v1/agents/{agent_id}', content_type => 'application/json' }, | ||||||||||||
| 23 | 'agents_api_v1_agents_update_version' => { method => 'PATCH', path => '/v1/agents/{agent_id}/version' }, | ||||||||||||
| 24 | 'agents_api_v1_conversations_append' => { method => 'POST', path => '/v1/conversations/{conversation_id}', content_type => 'application/json' }, | ||||||||||||
| 25 | 'agents_api_v1_conversations_delete' => { method => 'DELETE', path => '/v1/conversations/{conversation_id}' }, | ||||||||||||
| 26 | 'agents_api_v1_conversations_get' => { method => 'GET', path => '/v1/conversations/{conversation_id}' }, | ||||||||||||
| 27 | 'agents_api_v1_conversations_history' => { method => 'GET', path => '/v1/conversations/{conversation_id}/history' }, | ||||||||||||
| 28 | 'agents_api_v1_conversations_list' => { method => 'GET', path => '/v1/conversations' }, | ||||||||||||
| 29 | 'agents_api_v1_conversations_messages' => { method => 'GET', path => '/v1/conversations/{conversation_id}/messages' }, | ||||||||||||
| 30 | 'agents_api_v1_conversations_restart' => { method => 'POST', path => '/v1/conversations/{conversation_id}/restart', content_type => 'application/json' }, | ||||||||||||
| 31 | 'agents_api_v1_conversations_start' => { method => 'POST', path => '/v1/conversations', content_type => 'application/json' }, | ||||||||||||
| 32 | 'agents_completion_v1_agents_completions_post' => { method => 'POST', path => '/v1/agents/completions', content_type => 'application/json' }, | ||||||||||||
| 33 | 'audio_api_v1_transcriptions_post' => { method => 'POST', path => '/v1/audio/transcriptions', content_type => 'multipart/form-data' }, | ||||||||||||
| 34 | 'chat_classifications_v1_chat_classifications_post' => { method => 'POST', path => '/v1/chat/classifications', content_type => 'application/json' }, | ||||||||||||
| 35 | 'chat_completion_v1_chat_completions_post' => { method => 'POST', path => '/v1/chat/completions', content_type => 'application/json' }, | ||||||||||||
| 36 | 'chat_moderations_v1_chat_moderations_post' => { method => 'POST', path => '/v1/chat/moderations', content_type => 'application/json' }, | ||||||||||||
| 37 | 'classifications_v1_classifications_post' => { method => 'POST', path => '/v1/classifications', content_type => 'application/json' }, | ||||||||||||
| 38 | 'delete_model_v1_models__model_id__delete' => { method => 'DELETE', path => '/v1/models/{model_id}' }, | ||||||||||||
| 39 | 'embeddings_v1_embeddings_post' => { method => 'POST', path => '/v1/embeddings', content_type => 'application/json' }, | ||||||||||||
| 40 | 'files_api_routes_delete_file' => { method => 'DELETE', path => '/v1/files/{file_id}' }, | ||||||||||||
| 41 | 'files_api_routes_download_file' => { method => 'GET', path => '/v1/files/{file_id}/content' }, | ||||||||||||
| 42 | 'files_api_routes_get_signed_url' => { method => 'GET', path => '/v1/files/{file_id}/url' }, | ||||||||||||
| 43 | 'files_api_routes_list_files' => { method => 'GET', path => '/v1/files' }, | ||||||||||||
| 44 | 'files_api_routes_retrieve_file' => { method => 'GET', path => '/v1/files/{file_id}' }, | ||||||||||||
| 45 | 'files_api_routes_upload_file' => { method => 'POST', path => '/v1/files', content_type => 'multipart/form-data' }, | ||||||||||||
| 46 | 'fim_completion_v1_fim_completions_post' => { method => 'POST', path => '/v1/fim/completions', content_type => 'application/json' }, | ||||||||||||
| 47 | 'jobs_api_routes_batch_cancel_batch_job' => { method => 'POST', path => '/v1/batch/jobs/{job_id}/cancel' }, | ||||||||||||
| 48 | 'jobs_api_routes_batch_create_batch_job' => { method => 'POST', path => '/v1/batch/jobs', content_type => 'application/json' }, | ||||||||||||
| 49 | 'jobs_api_routes_batch_get_batch_job' => { method => 'GET', path => '/v1/batch/jobs/{job_id}' }, | ||||||||||||
| 50 | 'jobs_api_routes_batch_get_batch_jobs' => { method => 'GET', path => '/v1/batch/jobs' }, | ||||||||||||
| 51 | 'jobs_api_routes_fine_tuning_archive_fine_tuned_model' => { method => 'POST', path => '/v1/fine_tuning/models/{model_id}/archive' }, | ||||||||||||
| 52 | 'jobs_api_routes_fine_tuning_cancel_fine_tuning_job' => { method => 'POST', path => '/v1/fine_tuning/jobs/{job_id}/cancel' }, | ||||||||||||
| 53 | 'jobs_api_routes_fine_tuning_create_fine_tuning_job' => { method => 'POST', path => '/v1/fine_tuning/jobs', content_type => 'application/json' }, | ||||||||||||
| 54 | 'jobs_api_routes_fine_tuning_get_fine_tuning_job' => { method => 'GET', path => '/v1/fine_tuning/jobs/{job_id}' }, | ||||||||||||
| 55 | 'jobs_api_routes_fine_tuning_get_fine_tuning_jobs' => { method => 'GET', path => '/v1/fine_tuning/jobs' }, | ||||||||||||
| 56 | 'jobs_api_routes_fine_tuning_start_fine_tuning_job' => { method => 'POST', path => '/v1/fine_tuning/jobs/{job_id}/start' }, | ||||||||||||
| 57 | 'jobs_api_routes_fine_tuning_unarchive_fine_tuned_model' => { method => 'DELETE', path => '/v1/fine_tuning/models/{model_id}/archive' }, | ||||||||||||
| 58 | 'jobs_api_routes_fine_tuning_update_fine_tuned_model' => { method => 'PATCH', path => '/v1/fine_tuning/models/{model_id}', content_type => 'application/json' }, | ||||||||||||
| 59 | 'libraries_create_v1' => { method => 'POST', path => '/v1/libraries', content_type => 'application/json' }, | ||||||||||||
| 60 | 'libraries_delete_v1' => { method => 'DELETE', path => '/v1/libraries/{library_id}' }, | ||||||||||||
| 61 | 'libraries_documents_delete_v1' => { method => 'DELETE', path => '/v1/libraries/{library_id}/documents/{document_id}' }, | ||||||||||||
| 62 | 'libraries_documents_get_extracted_text_signed_url_v1' => { method => 'GET', path => '/v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url' }, | ||||||||||||
| 63 | 'libraries_documents_get_signed_url_v1' => { method => 'GET', path => '/v1/libraries/{library_id}/documents/{document_id}/signed-url' }, | ||||||||||||
| 64 | 'libraries_documents_get_status_v1' => { method => 'GET', path => '/v1/libraries/{library_id}/documents/{document_id}/status' }, | ||||||||||||
| 65 | 'libraries_documents_get_text_content_v1' => { method => 'GET', path => '/v1/libraries/{library_id}/documents/{document_id}/text_content' }, | ||||||||||||
| 66 | 'libraries_documents_get_v1' => { method => 'GET', path => '/v1/libraries/{library_id}/documents/{document_id}' }, | ||||||||||||
| 67 | 'libraries_documents_list_v1' => { method => 'GET', path => '/v1/libraries/{library_id}/documents' }, | ||||||||||||
| 68 | 'libraries_documents_reprocess_v1' => { method => 'POST', path => '/v1/libraries/{library_id}/documents/{document_id}/reprocess' }, | ||||||||||||
| 69 | 'libraries_documents_update_v1' => { method => 'PUT', path => '/v1/libraries/{library_id}/documents/{document_id}', content_type => 'application/json' }, | ||||||||||||
| 70 | 'libraries_documents_upload_v1' => { method => 'POST', path => '/v1/libraries/{library_id}/documents', content_type => 'multipart/form-data' }, | ||||||||||||
| 71 | 'libraries_get_v1' => { method => 'GET', path => '/v1/libraries/{library_id}' }, | ||||||||||||
| 72 | 'libraries_list_v1' => { method => 'GET', path => '/v1/libraries' }, | ||||||||||||
| 73 | 'libraries_share_create_v1' => { method => 'PUT', path => '/v1/libraries/{library_id}/share', content_type => 'application/json' }, | ||||||||||||
| 74 | 'libraries_share_delete_v1' => { method => 'DELETE', path => '/v1/libraries/{library_id}/share', content_type => 'application/json' }, | ||||||||||||
| 75 | 'libraries_share_list_v1' => { method => 'GET', path => '/v1/libraries/{library_id}/share' }, | ||||||||||||
| 76 | 'libraries_update_v1' => { method => 'PUT', path => '/v1/libraries/{library_id}', content_type => 'application/json' }, | ||||||||||||
| 77 | 'list_models_v1_models_get' => { method => 'GET', path => '/v1/models' }, | ||||||||||||
| 78 | 'moderations_v1_moderations_post' => { method => 'POST', path => '/v1/moderations', content_type => 'application/json' }, | ||||||||||||
| 79 | 'ocr_v1_ocr_post' => { method => 'POST', path => '/v1/ocr', content_type => 'application/json' }, | ||||||||||||
| 80 | 'retrieve_model_v1_models__model_id__get' => { method => 'GET', path => '/v1/models/{model_id}' }, | ||||||||||||
| 81 | }, | ||||||||||||
| 82 | }; | ||||||||||||
| 83 | 2 | return $DATA; | |||||||||||
| 84 | } | ||||||||||||
| 85 | |||||||||||||
| 86 | 2 | 1; | |||||||||||
| 87 | |||||||||||||
| 88 | __END__ | ||||||||||||
| 89 | |||||||||||||
| 90 | =pod | ||||||||||||
| 91 | |||||||||||||
| 92 | =encoding UTF-8 | ||||||||||||
| 93 | |||||||||||||
| 94 | =head1 NAME | ||||||||||||
| 95 | |||||||||||||
| 96 | Langertha::Spec::Mistral - Pre-computed OpenAPI operations for Mistral | ||||||||||||
| 97 | |||||||||||||
| 98 | =head1 VERSION | ||||||||||||
| 99 | |||||||||||||
| 100 | version 0.502 | ||||||||||||
| 101 | |||||||||||||
| 102 | =head1 SUPPORT | ||||||||||||
| 103 | |||||||||||||
| 104 | =head2 Issues | ||||||||||||
| 105 | |||||||||||||
| 106 | Please report bugs and feature requests on GitHub at | ||||||||||||
| 107 | L<https://github.com/Getty/langertha/issues>. | ||||||||||||
| 108 | |||||||||||||
| 109 | =head2 IRC | ||||||||||||
| 110 | |||||||||||||
| 111 | Join C<#langertha> on C<irc.perl.org> or message Getty directly. | ||||||||||||
| 112 | |||||||||||||
| 113 | =head1 CONTRIBUTING | ||||||||||||
| 114 | |||||||||||||
| 115 | Contributions are welcome! Please fork the repository and submit a pull request. | ||||||||||||
| 116 | |||||||||||||
| 117 | =head1 AUTHOR | ||||||||||||
| 118 | |||||||||||||
| 119 | Torsten Raudssus <getty@cpan.org> | ||||||||||||
| 120 | |||||||||||||
| 121 | =head1 COPYRIGHT AND LICENSE | ||||||||||||
| 122 | |||||||||||||
| 123 | This software is copyright (c) 2026 by Torsten Raudssus L<https://raudssus.de/>. | ||||||||||||
| 124 | |||||||||||||
| 125 | This is free software; you can redistribute it and/or modify it under | ||||||||||||
| 126 | the same terms as the Perl 5 programming language system itself. | ||||||||||||
| 127 | |||||||||||||
| 128 | =cut | ||||||||||||