blib/lib/Langertha/Spec/OpenAI.pm

filter: Statementstmt 100% 5 / 5 Branchbran n/a Conditioncond 100% 2 / 2 MC/DCmcdc 100% 1 / 1 Subroutinesub 100% 1 / 1 Podpod 0.0% 0 / 1 totaltotal 90.0% 9 / 10 CC 2 SCAR 6.9
CC
2
Cov
100%
data
2.0
CRAP 2.0
« blib/lib/Langertha/Spec/Ollama.pm ↑ Summary blib/lib/Langertha/Engine/AnthropicBase.pm »
1 package Langertha::Spec::OpenAI;
2 # ABSTRACT: Pre-computed OpenAPI operations for OpenAI
3 101 our $VERSION = '0.505';
4  
5 # AUTO-GENERATED by maint/generate_spec_data.pl -- do not edit manually.
6 # Source: share/openai.yaml (148 operations)
7  
8 101 my $DATA;
9  
10 1567 ▶sub data {
Subroutine data: called CC=2 SCAR=6.9
Pod undocumented
11 1567 ▶ $DATA //= {
Condition100%2/2
$DATA //= {"server_url", "https://api.openai.com/v1", "operations", {"activateOrganizationCertificates", {"method", "POST", "path", "/organization/certificates/activate", "content_type", "application/json"}, "activateProjectCertificates", {"method", "POST", "path", "/organization/projects/{project_id}/certificates/activate", "content_type", "application/json"}, "addUploadPart", {"method", "POST", "path", "/uploads/{upload_id}/parts", "content_type", "multipart/form-data"}, "admin-api-keys-create", {"method", "POST", "path", "/organization/admin_api_keys", "content_type", "application/json"}, "admin-api-keys-delete", {"method", "DELETE", "path", "/organization/admin_api_keys/{key_id}"}, "admin-api-keys-get", {"method", "GET", "path", "/organization/admin_api_keys/{key_id}"}, "admin-api-keys-list", {"method", "GET", "path", "/organization/admin_api_keys"}, "archive-project", {"method", "POST", "path", "/organization/projects/{project_id}/archive"}, "cancelBatch", {"method", "POST", "path", "/batches/{batch_id}/cancel"}, "cancelEvalRun", {"method", "POST", "path", "/evals/{eval_id}/runs/{run_id}"}, "cancelFineTuningJob", {"method", "POST", "path", "/fine_tuning/jobs/{fine_tuning_job_id}/cancel"}, "cancelRun", {"method", "POST", "path", "/threads/{thread_id}/runs/{run_id}/cancel"}, "cancelUpload", {"method", "POST", "path", "/uploads/{upload_id}/cancel"}, "cancelVectorStoreFileBatch", {"method", "POST", "path", "/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel"}, "completeUpload", {"method", "POST", "path", "/uploads/{upload_id}/complete", "content_type", "application/json"}, "create-project", {"method", "POST", "path", "/organization/projects", "content_type", "application/json"}, "create-project-service-account", {"method", "POST", "path", "/organization/projects/{project_id}/service_accounts", "content_type", "application/json"}, "create-project-user", {"method", "POST", "path", "/organization/projects/{project_id}/users", "content_type", "application/json"}, "create-realtime-session", {"method", "POST", "path", "/realtime/sessions", "content_type", "application/json"}, "create-realtime-transcription-session", {"method", "POST", "path", "/realtime/transcription_sessions", "content_type", "application/json"}, "createAssistant", {"method", "POST", "path", "/assistants", "content_type", "application/json"}, "createBatch", {"method", "POST", "path", "/batches", "content_type", "application/json"}, "createChatCompletion", {"method", "POST", "path", "/chat/completions", "content_type", "application/json"}, "createCompletion", {"method", "POST", "path", "/completions", "content_type", "application/json"}, "createEmbedding", {"method", "POST", "path", "/embeddings", "content_type", "application/json"}, "createEval", {"method", "POST", "path", "/evals", "content_type", "application/json"}, "createEvalRun", {"method", "POST", "path", "/evals/{eval_id}/runs", "content_type", "application/json"}, "createFile", {"method", "POST", "path", "/files", "content_type", "multipart/form-data"}, "createFineTuningCheckpointPermission", {"method", "POST", "path", "/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions", "content_type", "application/json"}, "createFineTuningJob", {"method", "POST", "path", "/fine_tuning/jobs", "content_type", "application/json"}, "createImage", {"method", "POST", "path", "/images/generations", "content_type", "application/json"}, "createImageEdit", {"method", "POST", "path", "/images/edits", "content_type", "multipart/form-data"}, "createImageVariation", {"method", "POST", "path", "/images/variations", "content_type", "multipart/form-data"}, "createMessage", {"method", "POST", "path", "/threads/{thread_id}/messages", "content_type", "application/json"}, "createModeration", {"method", "POST", "path", "/moderations", "content_type", "application/json"}, "createResponse", {"method", "POST", "path", "/responses", "content_type", "application/json"}, "createRun", {"method", "POST", "path", "/threads/{thread_id}/runs", "content_type", "application/json"}, "createSpeech", {"method", "POST", "path", "/audio/speech", "content_type", "application/json"}, "createThread", {"method", "POST", "path", "/threads", "content_type", "application/json"}, "createThreadAndRun", {"method", "POST", "path", "/threads/runs", "content_type", "application/json"}, "createTranscription", {"method", "POST", "path", "/audio/transcriptions", "content_type", "multipart/form-data"}, "createTranslation", {"method", "POST", "path", "/audio/translations", "content_type", "multipart/form-data"}, "createUpload", {"method", "POST", "path", "/uploads", "content_type", "application/json"}, "createVectorStore", {"method", "POST", "path", "/vector_stores", "content_type", "application/json"}, "createVectorStoreFile", {"method", "POST", "path", "/vector_stores/{vector_store_id}/files", "content_type", "application/json"}, "createVectorStoreFileBatch", {"method", "POST", "path", "/vector_stores/{vector_store_id}/file_batches", "content_type", "application/json"}, "deactivateOrganizationCertificates", {"method", "POST", "path", "/organization/certificates/deactivate", "content_type", "application/json"}, "deactivateProjectCertificates", {"method", "POST", "path", "/organization/projects/{project_id}/certificates/deactivate", "content_type", "application/json"}, "delete-invite", {"method", "DELETE", "path", "/organization/invites/{invite_id}"}, "delete-project-api-key", {"method", "DELETE", "path", "/organization/projects/{project_id}/api_keys/{key_id}"}, "delete-project-service-account", {"method", "DELETE", "path", "/organization/projects/{project_id}/service_accounts/{service_account_id}"}, "delete-project-user", {"method", "DELETE", "path", "/organization/projects/{project_id}/users/{user_id}"}, "delete-user", {"method", "DELETE", "path", "/organization/users/{user_id}"}, "deleteAssistant", {"method", "DELETE", "path", "/assistants/{assistant_id}"}, "deleteCertificate", {"method", "DELETE", "path", "/organization/certificates/{certificate_id}"}, "deleteChatCompletion", {"method", "DELETE", "path", "/chat/completions/{completion_id}"}, "deleteEval", {"method", "DELETE", "path", "/evals/{eval_id}"}, "deleteEvalRun", {"method", "DELETE", "path", "/evals/{eval_id}/runs/{run_id}"}, "deleteFile", {"method", "DELETE", "path", "/files/{file_id}"}, "deleteFineTuningCheckpointPermission", {"method", "DELETE", "path", "/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions/{permission_id}"}, "deleteMessage", {"method", "DELETE", "path", "/threads/{thread_id}/messages/{message_id}"}, "deleteModel", {"method", "DELETE", "path", "/models/{model}"}, "deleteResponse", {"method", "DELETE", "path", "/responses/{response_id}"}, "deleteThread", {"method", "DELETE", "path", "/threads/{thread_id}"}, "deleteVectorStore", {"method", "DELETE", "path", "/vector_stores/{vector_store_id}"}, "deleteVectorStoreFile", {"method", "DELETE", "path", "/vector_stores/{vector_store_id}/files/{file_id}"}, "downloadFile", {"method", "GET", "path", "/files/{file_id}/content"}, "getAssistant", {"method", "GET", "path", "/assistants/{assistant_id}"}, "getCertificate", {"method", "GET", "path", "/organization/certificates/{certificate_id}"}, "getChatCompletion", {"method", "GET", "path", "/chat/completions/{completion_id}"}, "getChatCompletionMessages", {"method", "GET", "path", "/chat/completions/{completion_id}/messages"}, "getEval", {"method", "GET", "path", "/evals/{eval_id}"}, "getEvalRun", {"method", "GET", "path", "/evals/{eval_id}/runs/{run_id}"}, "getEvalRunOutputItem", {"method", "GET", "path", "/evals/{eval_id}/runs/{run_id}/output_items/{output_item_id}"}, "getEvalRunOutputItems", {"method", "GET", "path", "/evals/{eval_id}/runs/{run_id}/output_items"}, "getEvalRuns", {"method", "GET", "path", "/evals/{eval_id}/runs"}, "getMessage", {"method", "GET", "path", "/threads/{thread_id}/messages/{message_id}"}, "getResponse", {"method", "GET", "path", "/responses/{response_id}"}, "getRun", {"method", "GET", "path", "/threads/{thread_id}/runs/{run_id}"}, "getRunStep", {"method", "GET", "path", "/threads/{thread_id}/runs/{run_id}/steps/{step_id}"}, "getThread", {"method", "GET", "path", "/threads/{thread_id}"}, "getVectorStore", {"method", "GET", "path", "/vector_stores/{vector_store_id}"}, "getVectorStoreFile", {"method", "GET", "path", "/vector_stores/{vector_store_id}/files/{file_id}"}, "getVectorStoreFileBatch", {"method", "GET", "path", "/vector_stores/{vector_store_id}/file_batches/{batch_id}"}, "inviteUser", {"method", "POST", "path", "/organization/invites", "content_type", "application/json"}, "list-audit-logs", {"method", "GET", "path", "/organization/audit_logs"}, "list-invites", {"method", "GET", "path", "/organization/invites"}, "list-project-api-keys", {"method", "GET", "path", "/organization/projects/{project_id}/api_keys"}, "list-project-rate-limits", {"method", "GET", "path", "/organization/projects/{project_id}/rate_limits"}, "list-project-service-accounts", {"method", "GET", "path", "/organization/projects/{project_id}/service_accounts"}, "list-project-users", {"method", "GET", "path", "/organization/projects/{project_id}/users"}, "list-projects", {"method", "GET", "path", "/organization/projects"}, "list-users", {"method", "GET", "path", "/organization/users"}, "listAssistants", {"method", "GET", "path", "/assistants"}, "listBatches", {"method", "GET", "path", "/batches"}, "listChatCompletions", {"method", "GET", "path", "/chat/completions"}, "listEvals", {"method", "GET", "path", "/evals"}, "listFiles", {"method", "GET", "path", "/files"}, "listFilesInVectorStoreBatch", {"method", "GET", "path", "/vector_stores/{vector_store_id}/file_batches/{batch_id}/files"}, "listFineTuningCheckpointPermissions", {"method", "GET", "path", "/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions"}, "listFineTuningEvents", {"method", "GET", "path", "/fine_tuning/jobs/{fine_tuning_job_id}/events"}, "listFineTuningJobCheckpoints", {"method", "GET", "path", "/fine_tuning/jobs/{fine_tuning_job_id}/checkpoints"}, "listInputItems", {"method", "GET", "path", "/responses/{response_id}/input_items"}, "listMessages", {"method", "GET", "path", "/threads/{thread_id}/messages"}, "listModels", {"method", "GET", "path", "/models"}, "listOrganizationCertificates", {"method", "GET", "path", "/organization/certificates"}, "listPaginatedFineTuningJobs", {"method", "GET", "path", "/fine_tuning/jobs"}, "listProjectCertificates", {"method", "GET", "path", "/organization/projects/{project_id}/certificates"}, "listRunSteps", {"method", "GET", "path", "/threads/{thread_id}/runs/{run_id}/steps"}, "listRuns", {"method", "GET", "path", "/threads/{thread_id}/runs"}, "listVectorStoreFiles", {"method", "GET", "path", "/vector_stores/{vector_store_id}/files"}, "listVectorStores", {"method", "GET", "path", "/vector_stores"}, "modify-project", {"method", "POST", "path", "/organization/projects/{project_id}", "content_type", "application/json"}, "modify-project-user", {"method", "POST", "path", "/organization/projects/{project_id}/users/{user_id}", "content_type", "application/json"}, "modify-user", {"method", "POST", "path", "/organization/users/{user_id}", "content_type", "application/json"}, "modifyAssistant", {"method", "POST", "path", "/assistants/{assistant_id}", "content_type", "application/json"}, "modifyCertificate", {"method", "POST", "path", "/organization/certificates/{certificate_id}", "content_type", "application/json"}, "modifyMessage", {"method", "POST", "path", "/threads/{thread_id}/messages/{message_id}", "content_type", "application/json"}, "modifyRun", {"method", "POST", "path", "/threads/{thread_id}/runs/{run_id}", "content_type", "application/json"}, "modifyThread", {"method", "POST", "path", "/threads/{thread_id}", "content_type", "application/json"}, "modifyVectorStore", {"method", "POST", "path", "/vector_stores/{vector_store_id}", "content_type", "application/json"}, "retrieve-invite", {"method", "GET", "path", "/organization/invites/{invite_id}"}, "retrieve-project", {"method", "GET", "path", "/organization/projects/{project_id}"}, "retrieve-project-api-key", {"method", "GET", "path", "/organization/projects/{project_id}/api_keys/{key_id}"}, "retrieve-project-service-account", {"method", "GET", "path", "/organization/projects/{project_id}/service_accounts/{service_account_id}"}, "retrieve-project-user", {"method", "GET", "path", "/organization/projects/{project_id}/users/{user_id}"}, "retrieve-user", {"method", "GET", "path", "/organization/users/{user_id}"}, "retrieveBatch", {"method", "GET", "path", "/batches/{batch_id}"}, "retrieveFile", {"method", "GET", "path", "/files/{file_id}"}, "retrieveFineTuningJob", {"method", "GET", "path", "/fine_tuning/jobs/{fine_tuning_job_id}"}, "retrieveModel", {"method", "GET", "path", "/models/{model}"}, "retrieveVectorStoreFileContent", {"method", "GET", "path", "/vector_stores/{vector_store_id}/files/{file_id}/content"}, "searchVectorStore", {"method", "POST", "path", "/vector_stores/{vector_store_id}/search", "content_type", "application/json"}, "submitToolOuputsToRun", {"method", "POST", "path", "/threads/{thread_id}/runs/{run_id}/submit_tool_outputs", "content_type", "application/json"}, "update-project-rate-limits", {"method", "POST", "path", "/organization/projects/{project_id}/rate_limits/{rate_limit_id}", "content_type", "application/json"}, "updateChatCompletion", {"method", "POST", "path", "/chat/completions/{completion_id}", "content_type", "application/json"}, "updateEval", {"method", "POST", "path", "/evals/{eval_id}", "content_type", "application/json"}, "updateVectorStoreFileAttributes", {"method", "POST", "path", "/vector_stores/{vector_store_id}/files/{file_id}", "content_type", "application/json"}, "uploadCertificate", {"method", "POST", "path", "/organization/certificates", "content_type", "application/json"}, "usage-audio-speeches", {"method", "GET", "path", "/organization/usage/audio_speeches"}, "usage-audio-transcriptions", {"method", "GET", "path", "/organization/usage/audio_transcriptions"}, "usage-code-interpreter-sessions", {"method", "GET", "path", "/organization/usage/code_interpreter_sessions"}, "usage-completions", {"method", "GET", "path", "/organization/usage/completions"}, "usage-costs", {"method", "GET", "path", "/organization/costs"}, "usage-embeddings", {"method", "GET", "path", "/organization/usage/embeddings"}, "usage-images", {"method", "GET", "path", "/organization/usage/images"}, "usage-moderations", {"method", "GET", "path", "/organization/usage/moderations"}, "usage-vector-stores", {"method", "GET", "path", "/organization/usage/vector_stores"}}}
l!l
1467100
MC/DC100%1/1
$DATA //= {"server_url", "https://api.openai.com/v1", "operations", {"activateOrganizationCertificates", {"method", "POST", "path", "/organization/certificates/activate", "content_type", "application/json"}, "activateProjectCertificates", {"method", "POST", "path", "/organization/projects/{project_id}/certificates/activate", "content_type", "application/json"}, "addUploadPart", {"method", "POST", "path", "/uploads/{upload_id}/parts", "content_type", "multipart/form-data"}, "admin-api-keys-create", {"method", "POST", "path", "/organization/admin_api_keys", "content_type", "application/json"}, "admin-api-keys-delete", {"method", "DELETE", "path", "/organization/admin_api_keys/{key_id}"}, "admin-api-keys-get", {"method", "GET", "path", "/organization/admin_api_keys/{key_id}"}, "admin-api-keys-list", {"method", "GET", "path", "/organization/admin_api_keys"}, "archive-project", {"method", "POST", "path", "/organization/projects/{project_id}/archive"}, "cancelBatch", {"method", "POST", "path", "/batches/{batch_id}/cancel"}, "cancelEvalRun", {"method", "POST", "path", "/evals/{eval_id}/runs/{run_id}"}, "cancelFineTuningJob", {"method", "POST", "path", "/fine_tuning/jobs/{fine_tuning_job_id}/cancel"}, "cancelRun", {"method", "POST", "path", "/threads/{thread_id}/runs/{run_id}/cancel"}, "cancelUpload", {"method", "POST", "path", "/uploads/{upload_id}/cancel"}, "cancelVectorStoreFileBatch", {"method", "POST", "path", "/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel"}, "completeUpload", {"method", "POST", "path", "/uploads/{upload_id}/complete", "content_type", "application/json"}, "create-project", {"method", "POST", "path", "/organization/projects", "content_type", "application/json"}, "create-project-service-account", {"method", "POST", "path", "/organization/projects/{project_id}/service_accounts", "content_type", "application/json"}, "create-project-user", {"method", "POST", "path", "/organization/projects/{project_id}/users", "content_type", "application/json"}, "create-realtime-session", {"method", "POST", "path", "/realtime/sessions", "content_type", "application/json"}, "create-realtime-transcription-session", {"method", "POST", "path", "/realtime/transcription_sessions", "content_type", "application/json"}, "createAssistant", {"method", "POST", "path", "/assistants", "content_type", "application/json"}, "createBatch", {"method", "POST", "path", "/batches", "content_type", "application/json"}, "createChatCompletion", {"method", "POST", "path", "/chat/completions", "content_type", "application/json"}, "createCompletion", {"method", "POST", "path", "/completions", "content_type", "application/json"}, "createEmbedding", {"method", "POST", "path", "/embeddings", "content_type", "application/json"}, "createEval", {"method", "POST", "path", "/evals", "content_type", "application/json"}, "createEvalRun", {"method", "POST", "path", "/evals/{eval_id}/runs", "content_type", "application/json"}, "createFile", {"method", "POST", "path", "/files", "content_type", "multipart/form-data"}, "createFineTuningCheckpointPermission", {"method", "POST", "path", "/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions", "content_type", "application/json"}, "createFineTuningJob", {"method", "POST", "path", "/fine_tuning/jobs", "content_type", "application/json"}, "createImage", {"method", "POST", "path", "/images/generations", "content_type", "application/json"}, "createImageEdit", {"method", "POST", "path", "/images/edits", "content_type", "multipart/form-data"}, "createImageVariation", {"method", "POST", "path", "/images/variations", "content_type", "multipart/form-data"}, "createMessage", {"method", "POST", "path", "/threads/{thread_id}/messages", "content_type", "application/json"}, "createModeration", {"method", "POST", "path", "/moderations", "content_type", "application/json"}, "createResponse", {"method", "POST", "path", "/responses", "content_type", "application/json"}, "createRun", {"method", "POST", "path", "/threads/{thread_id}/runs", "content_type", "application/json"}, "createSpeech", {"method", "POST", "path", "/audio/speech", "content_type", "application/json"}, "createThread", {"method", "POST", "path", "/threads", "content_type", "application/json"}, "createThreadAndRun", {"method", "POST", "path", "/threads/runs", "content_type", "application/json"}, "createTranscription", {"method", "POST", "path", "/audio/transcriptions", "content_type", "multipart/form-data"}, "createTranslation", {"method", "POST", "path", "/audio/translations", "content_type", "multipart/form-data"}, "createUpload", {"method", "POST", "path", "/uploads", "content_type", "application/json"}, "createVectorStore", {"method", "POST", "path", "/vector_stores", "content_type", "application/json"}, "createVectorStoreFile", {"method", "POST", "path", "/vector_stores/{vector_store_id}/files", "content_type", "application/json"}, "createVectorStoreFileBatch", {"method", "POST", "path", "/vector_stores/{vector_store_id}/file_batches", "content_type", "application/json"}, "deactivateOrganizationCertificates", {"method", "POST", "path", "/organization/certificates/deactivate", "content_type", "application/json"}, "deactivateProjectCertificates", {"method", "POST", "path", "/organization/projects/{project_id}/certificates/deactivate", "content_type", "application/json"}, "delete-invite", {"method", "DELETE", "path", "/organization/invites/{invite_id}"}, "delete-project-api-key", {"method", "DELETE", "path", "/organization/projects/{project_id}/api_keys/{key_id}"}, "delete-project-service-account", {"method", "DELETE", "path", "/organization/projects/{project_id}/service_accounts/{service_account_id}"}, "delete-project-user", {"method", "DELETE", "path", "/organization/projects/{project_id}/users/{user_id}"}, "delete-user", {"method", "DELETE", "path", "/organization/users/{user_id}"}, "deleteAssistant", {"method", "DELETE", "path", "/assistants/{assistant_id}"}, "deleteCertificate", {"method", "DELETE", "path", "/organization/certificates/{certificate_id}"}, "deleteChatCompletion", {"method", "DELETE", "path", "/chat/completions/{completion_id}"}, "deleteEval", {"method", "DELETE", "path", "/evals/{eval_id}"}, "deleteEvalRun", {"method", "DELETE", "path", "/evals/{eval_id}/runs/{run_id}"}, "deleteFile", {"method", "DELETE", "path", "/files/{file_id}"}, "deleteFineTuningCheckpointPermission", {"method", "DELETE", "path", "/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions/{permission_id}"}, "deleteMessage", {"method", "DELETE", "path", "/threads/{thread_id}/messages/{message_id}"}, "deleteModel", {"method", "DELETE", "path", "/models/{model}"}, "deleteResponse", {"method", "DELETE", "path", "/responses/{response_id}"}, "deleteThread", {"method", "DELETE", "path", "/threads/{thread_id}"}, "deleteVectorStore", {"method", "DELETE", "path", "/vector_stores/{vector_store_id}"}, "deleteVectorStoreFile", {"method", "DELETE", "path", "/vector_stores/{vector_store_id}/files/{file_id}"}, "downloadFile", {"method", "GET", "path", "/files/{file_id}/content"}, "getAssistant", {"method", "GET", "path", "/assistants/{assistant_id}"}, "getCertificate", {"method", "GET", "path", "/organization/certificates/{certificate_id}"}, "getChatCompletion", {"method", "GET", "path", "/chat/completions/{completion_id}"}, "getChatCompletionMessages", {"method", "GET", "path", "/chat/completions/{completion_id}/messages"}, "getEval", {"method", "GET", "path", "/evals/{eval_id}"}, "getEvalRun", {"method", "GET", "path", "/evals/{eval_id}/runs/{run_id}"}, "getEvalRunOutputItem", {"method", "GET", "path", "/evals/{eval_id}/runs/{run_id}/output_items/{output_item_id}"}, "getEvalRunOutputItems", {"method", "GET", "path", "/evals/{eval_id}/runs/{run_id}/output_items"}, "getEvalRuns", {"method", "GET", "path", "/evals/{eval_id}/runs"}, "getMessage", {"method", "GET", "path", "/threads/{thread_id}/messages/{message_id}"}, "getResponse", {"method", "GET", "path", "/responses/{response_id}"}, "getRun", {"method", "GET", "path", "/threads/{thread_id}/runs/{run_id}"}, "getRunStep", {"method", "GET", "path", "/threads/{thread_id}/runs/{run_id}/steps/{step_id}"}, "getThread", {"method", "GET", "path", "/threads/{thread_id}"}, "getVectorStore", {"method", "GET", "path", "/vector_stores/{vector_store_id}"}, "getVectorStoreFile", {"method", "GET", "path", "/vector_stores/{vector_store_id}/files/{file_id}"}, "getVectorStoreFileBatch", {"method", "GET", "path", "/vector_stores/{vector_store_id}/file_batches/{batch_id}"}, "inviteUser", {"method", "POST", "path", "/organization/invites", "content_type", "application/json"}, "list-audit-logs", {"method", "GET", "path", "/organization/audit_logs"}, "list-invites", {"method", "GET", "path", "/organization/invites"}, "list-project-api-keys", {"method", "GET", "path", "/organization/projects/{project_id}/api_keys"}, "list-project-rate-limits", {"method", "GET", "path", "/organization/projects/{project_id}/rate_limits"}, "list-project-service-accounts", {"method", "GET", "path", "/organization/projects/{project_id}/service_accounts"}, "list-project-users", {"method", "GET", "path", "/organization/projects/{project_id}/users"}, "list-projects", {"method", "GET", "path", "/organization/projects"}, "list-users", {"method", "GET", "path", "/organization/users"}, "listAssistants", {"method", "GET", "path", "/assistants"}, "listBatches", {"method", "GET", "path", "/batches"}, "listChatCompletions", {"method", "GET", "path", "/chat/completions"}, "listEvals", {"method", "GET", "path", "/evals"}, "listFiles", {"method", "GET", "path", "/files"}, "listFilesInVectorStoreBatch", {"method", "GET", "path", "/vector_stores/{vector_store_id}/file_batches/{batch_id}/files"}, "listFineTuningCheckpointPermissions", {"method", "GET", "path", "/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions"}, "listFineTuningEvents", {"method", "GET", "path", "/fine_tuning/jobs/{fine_tuning_job_id}/events"}, "listFineTuningJobCheckpoints", {"method", "GET", "path", "/fine_tuning/jobs/{fine_tuning_job_id}/checkpoints"}, "listInputItems", {"method", "GET", "path", "/responses/{response_id}/input_items"}, "listMessages", {"method", "GET", "path", "/threads/{thread_id}/messages"}, "listModels", {"method", "GET", "path", "/models"}, "listOrganizationCertificates", {"method", "GET", "path", "/organization/certificates"}, "listPaginatedFineTuningJobs", {"method", "GET", "path", "/fine_tuning/jobs"}, "listProjectCertificates", {"method", "GET", "path", "/organization/projects/{project_id}/certificates"}, "listRunSteps", {"method", "GET", "path", "/threads/{thread_id}/runs/{run_id}/steps"}, "listRuns", {"method", "GET", "path", "/threads/{thread_id}/runs"}, "listVectorStoreFiles", {"method", "GET", "path", "/vector_stores/{vector_store_id}/files"}, "listVectorStores", {"method", "GET", "path", "/vector_stores"}, "modify-project", {"method", "POST", "path", "/organization/projects/{project_id}", "content_type", "application/json"}, "modify-project-user", {"method", "POST", "path", "/organization/projects/{project_id}/users/{user_id}", "content_type", "application/json"}, "modify-user", {"method", "POST", "path", "/organization/users/{user_id}", "content_type", "application/json"}, "modifyAssistant", {"method", "POST", "path", "/assistants/{assistant_id}", "content_type", "application/json"}, "modifyCertificate", {"method", "POST", "path", "/organization/certificates/{certificate_id}", "content_type", "application/json"}, "modifyMessage", {"method", "POST", "path", "/threads/{thread_id}/messages/{message_id}", "content_type", "application/json"}, "modifyRun", {"method", "POST", "path", "/threads/{thread_id}/runs/{run_id}", "content_type", "application/json"}, "modifyThread", {"method", "POST", "path", "/threads/{thread_id}", "content_type", "application/json"}, "modifyVectorStore", {"method", "POST", "path", "/vector_stores/{vector_store_id}", "content_type", "application/json"}, "retrieve-invite", {"method", "GET", "path", "/organization/invites/{invite_id}"}, "retrieve-project", {"method", "GET", "path", "/organization/projects/{project_id}"}, "retrieve-project-api-key", {"method", "GET", "path", "/organization/projects/{project_id}/api_keys/{key_id}"}, "retrieve-project-service-account", {"method", "GET", "path", "/organization/projects/{project_id}/service_accounts/{service_account_id}"}, "retrieve-project-user", {"method", "GET", "path", "/organization/projects/{project_id}/users/{user_id}"}, "retrieve-user", {"method", "GET", "path", "/organization/users/{user_id}"}, "retrieveBatch", {"method", "GET", "path", "/batches/{batch_id}"}, "retrieveFile", {"method", "GET", "path", "/files/{file_id}"}, "retrieveFineTuningJob", {"method", "GET", "path", "/fine_tuning/jobs/{fine_tuning_job_id}"}, "retrieveModel", {"method", "GET", "path", "/models/{model}"}, "retrieveVectorStoreFileContent", {"method", "GET", "path", "/vector_stores/{vector_store_id}/files/{file_id}/content"}, "searchVectorStore", {"method", "POST", "path", "/vector_stores/{vector_store_id}/search", "content_type", "application/json"}, "submitToolOuputsToRun", {"method", "POST", "path", "/threads/{thread_id}/runs/{run_id}/submit_tool_outputs", "content_type", "application/json"}, "update-project-rate-limits", {"method", "POST", "path", "/organization/projects/{project_id}/rate_limits/{rate_limit_id}", "content_type", "application/json"}, "updateChatCompletion", {"method", "POST", "path", "/chat/completions/{completion_id}", "content_type", "application/json"}, "updateEval", {"method", "POST", "path", "/evals/{eval_id}", "content_type", "application/json"}, "updateVectorStoreFileAttributes", {"method", "POST", "path", "/vector_stores/{vector_store_id}/files/{file_id}", "content_type", "application/json"}, "uploadCertificate", {"method", "POST", "path", "/organization/certificates", "content_type", "application/json"}, "usage-audio-speeches", {"method", "GET", "path", "/organization/usage/audio_speeches"}, "usage-audio-transcriptions", {"method", "GET", "path", "/organization/usage/audio_transcriptions"}, "usage-code-interpreter-sessions", {"method", "GET", "path", "/organization/usage/code_interpreter_sessions"}, "usage-completions", {"method", "GET", "path", "/organization/usage/completions"}, "usage-costs", {"method", "GET", "path", "/organization/costs"}, "usage-embeddings", {"method", "GET", "path", "/organization/usage/embeddings"}, "usage-images", {"method", "GET", "path", "/organization/usage/images"}, "usage-moderations", {"method", "GET", "path", "/organization/usage/moderations"}, "usage-vector-stores", {"method", "GET", "path", "/organization/usage/vector_stores"}}}
$DATA
Truth table100%2/2
A
A= $DATA
Aresult
11
00
12 server_url => 'https://api.openai.com/v1',
13 operations => {
14 'activateOrganizationCertificates' => { method => 'POST', path => '/organization/certificates/activate', content_type => 'application/json' },
15 'activateProjectCertificates' => { method => 'POST', path => '/organization/projects/{project_id}/certificates/activate', content_type => 'application/json' },
16 'addUploadPart' => { method => 'POST', path => '/uploads/{upload_id}/parts', content_type => 'multipart/form-data' },
17 'admin-api-keys-create' => { method => 'POST', path => '/organization/admin_api_keys', content_type => 'application/json' },
18 'admin-api-keys-delete' => { method => 'DELETE', path => '/organization/admin_api_keys/{key_id}' },
19 'admin-api-keys-get' => { method => 'GET', path => '/organization/admin_api_keys/{key_id}' },
20 'admin-api-keys-list' => { method => 'GET', path => '/organization/admin_api_keys' },
21 'archive-project' => { method => 'POST', path => '/organization/projects/{project_id}/archive' },
22 'cancelBatch' => { method => 'POST', path => '/batches/{batch_id}/cancel' },
23 'cancelEvalRun' => { method => 'POST', path => '/evals/{eval_id}/runs/{run_id}' },
24 'cancelFineTuningJob' => { method => 'POST', path => '/fine_tuning/jobs/{fine_tuning_job_id}/cancel' },
25 'cancelRun' => { method => 'POST', path => '/threads/{thread_id}/runs/{run_id}/cancel' },
26 'cancelUpload' => { method => 'POST', path => '/uploads/{upload_id}/cancel' },
27 'cancelVectorStoreFileBatch' => { method => 'POST', path => '/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancel' },
28 'completeUpload' => { method => 'POST', path => '/uploads/{upload_id}/complete', content_type => 'application/json' },
29 'create-project' => { method => 'POST', path => '/organization/projects', content_type => 'application/json' },
30 'create-project-service-account' => { method => 'POST', path => '/organization/projects/{project_id}/service_accounts', content_type => 'application/json' },
31 'create-project-user' => { method => 'POST', path => '/organization/projects/{project_id}/users', content_type => 'application/json' },
32 'create-realtime-session' => { method => 'POST', path => '/realtime/sessions', content_type => 'application/json' },
33 'create-realtime-transcription-session' => { method => 'POST', path => '/realtime/transcription_sessions', content_type => 'application/json' },
34 'createAssistant' => { method => 'POST', path => '/assistants', content_type => 'application/json' },
35 'createBatch' => { method => 'POST', path => '/batches', content_type => 'application/json' },
36 'createChatCompletion' => { method => 'POST', path => '/chat/completions', content_type => 'application/json' },
37 'createCompletion' => { method => 'POST', path => '/completions', content_type => 'application/json' },
38 'createEmbedding' => { method => 'POST', path => '/embeddings', content_type => 'application/json' },
39 'createEval' => { method => 'POST', path => '/evals', content_type => 'application/json' },
40 'createEvalRun' => { method => 'POST', path => '/evals/{eval_id}/runs', content_type => 'application/json' },
41 'createFile' => { method => 'POST', path => '/files', content_type => 'multipart/form-data' },
42 'createFineTuningCheckpointPermission' => { method => 'POST', path => '/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions', content_type => 'application/json' },
43 'createFineTuningJob' => { method => 'POST', path => '/fine_tuning/jobs', content_type => 'application/json' },
44 'createImage' => { method => 'POST', path => '/images/generations', content_type => 'application/json' },
45 'createImageEdit' => { method => 'POST', path => '/images/edits', content_type => 'multipart/form-data' },
46 'createImageVariation' => { method => 'POST', path => '/images/variations', content_type => 'multipart/form-data' },
47 'createMessage' => { method => 'POST', path => '/threads/{thread_id}/messages', content_type => 'application/json' },
48 'createModeration' => { method => 'POST', path => '/moderations', content_type => 'application/json' },
49 'createResponse' => { method => 'POST', path => '/responses', content_type => 'application/json' },
50 'createRun' => { method => 'POST', path => '/threads/{thread_id}/runs', content_type => 'application/json' },
51 'createSpeech' => { method => 'POST', path => '/audio/speech', content_type => 'application/json' },
52 'createThread' => { method => 'POST', path => '/threads', content_type => 'application/json' },
53 'createThreadAndRun' => { method => 'POST', path => '/threads/runs', content_type => 'application/json' },
54 'createTranscription' => { method => 'POST', path => '/audio/transcriptions', content_type => 'multipart/form-data' },
55 'createTranslation' => { method => 'POST', path => '/audio/translations', content_type => 'multipart/form-data' },
56 'createUpload' => { method => 'POST', path => '/uploads', content_type => 'application/json' },
57 'createVectorStore' => { method => 'POST', path => '/vector_stores', content_type => 'application/json' },
58 'createVectorStoreFile' => { method => 'POST', path => '/vector_stores/{vector_store_id}/files', content_type => 'application/json' },
59 'createVectorStoreFileBatch' => { method => 'POST', path => '/vector_stores/{vector_store_id}/file_batches', content_type => 'application/json' },
60 'deactivateOrganizationCertificates' => { method => 'POST', path => '/organization/certificates/deactivate', content_type => 'application/json' },
61 'deactivateProjectCertificates' => { method => 'POST', path => '/organization/projects/{project_id}/certificates/deactivate', content_type => 'application/json' },
62 'delete-invite' => { method => 'DELETE', path => '/organization/invites/{invite_id}' },
63 'delete-project-api-key' => { method => 'DELETE', path => '/organization/projects/{project_id}/api_keys/{key_id}' },
64 'delete-project-service-account' => { method => 'DELETE', path => '/organization/projects/{project_id}/service_accounts/{service_account_id}' },
65 'delete-project-user' => { method => 'DELETE', path => '/organization/projects/{project_id}/users/{user_id}' },
66 'delete-user' => { method => 'DELETE', path => '/organization/users/{user_id}' },
67 'deleteAssistant' => { method => 'DELETE', path => '/assistants/{assistant_id}' },
68 'deleteCertificate' => { method => 'DELETE', path => '/organization/certificates/{certificate_id}' },
69 'deleteChatCompletion' => { method => 'DELETE', path => '/chat/completions/{completion_id}' },
70 'deleteEval' => { method => 'DELETE', path => '/evals/{eval_id}' },
71 'deleteEvalRun' => { method => 'DELETE', path => '/evals/{eval_id}/runs/{run_id}' },
72 'deleteFile' => { method => 'DELETE', path => '/files/{file_id}' },
73 'deleteFineTuningCheckpointPermission' => { method => 'DELETE', path => '/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions/{permission_id}' },
74 'deleteMessage' => { method => 'DELETE', path => '/threads/{thread_id}/messages/{message_id}' },
75 'deleteModel' => { method => 'DELETE', path => '/models/{model}' },
76 'deleteResponse' => { method => 'DELETE', path => '/responses/{response_id}' },
77 'deleteThread' => { method => 'DELETE', path => '/threads/{thread_id}' },
78 'deleteVectorStore' => { method => 'DELETE', path => '/vector_stores/{vector_store_id}' },
79 'deleteVectorStoreFile' => { method => 'DELETE', path => '/vector_stores/{vector_store_id}/files/{file_id}' },
80 'downloadFile' => { method => 'GET', path => '/files/{file_id}/content' },
81 'getAssistant' => { method => 'GET', path => '/assistants/{assistant_id}' },
82 'getCertificate' => { method => 'GET', path => '/organization/certificates/{certificate_id}' },
83 'getChatCompletion' => { method => 'GET', path => '/chat/completions/{completion_id}' },
84 'getChatCompletionMessages' => { method => 'GET', path => '/chat/completions/{completion_id}/messages' },
85 'getEval' => { method => 'GET', path => '/evals/{eval_id}' },
86 'getEvalRun' => { method => 'GET', path => '/evals/{eval_id}/runs/{run_id}' },
87 'getEvalRunOutputItem' => { method => 'GET', path => '/evals/{eval_id}/runs/{run_id}/output_items/{output_item_id}' },
88 'getEvalRunOutputItems' => { method => 'GET', path => '/evals/{eval_id}/runs/{run_id}/output_items' },
89 'getEvalRuns' => { method => 'GET', path => '/evals/{eval_id}/runs' },
90 'getMessage' => { method => 'GET', path => '/threads/{thread_id}/messages/{message_id}' },
91 'getResponse' => { method => 'GET', path => '/responses/{response_id}' },
92 'getRun' => { method => 'GET', path => '/threads/{thread_id}/runs/{run_id}' },
93 'getRunStep' => { method => 'GET', path => '/threads/{thread_id}/runs/{run_id}/steps/{step_id}' },
94 'getThread' => { method => 'GET', path => '/threads/{thread_id}' },
95 'getVectorStore' => { method => 'GET', path => '/vector_stores/{vector_store_id}' },
96 'getVectorStoreFile' => { method => 'GET', path => '/vector_stores/{vector_store_id}/files/{file_id}' },
97 'getVectorStoreFileBatch' => { method => 'GET', path => '/vector_stores/{vector_store_id}/file_batches/{batch_id}' },
98 'inviteUser' => { method => 'POST', path => '/organization/invites', content_type => 'application/json' },
99 'list-audit-logs' => { method => 'GET', path => '/organization/audit_logs' },
100 'list-invites' => { method => 'GET', path => '/organization/invites' },
101 'list-project-api-keys' => { method => 'GET', path => '/organization/projects/{project_id}/api_keys' },
102 'list-project-rate-limits' => { method => 'GET', path => '/organization/projects/{project_id}/rate_limits' },
103 'list-project-service-accounts' => { method => 'GET', path => '/organization/projects/{project_id}/service_accounts' },
104 'list-project-users' => { method => 'GET', path => '/organization/projects/{project_id}/users' },
105 'list-projects' => { method => 'GET', path => '/organization/projects' },
106 'list-users' => { method => 'GET', path => '/organization/users' },
107 'listAssistants' => { method => 'GET', path => '/assistants' },
108 'listBatches' => { method => 'GET', path => '/batches' },
109 'listChatCompletions' => { method => 'GET', path => '/chat/completions' },
110 'listEvals' => { method => 'GET', path => '/evals' },
111 'listFiles' => { method => 'GET', path => '/files' },
112 'listFilesInVectorStoreBatch' => { method => 'GET', path => '/vector_stores/{vector_store_id}/file_batches/{batch_id}/files' },
113 'listFineTuningCheckpointPermissions' => { method => 'GET', path => '/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions' },
114 'listFineTuningEvents' => { method => 'GET', path => '/fine_tuning/jobs/{fine_tuning_job_id}/events' },
115 'listFineTuningJobCheckpoints' => { method => 'GET', path => '/fine_tuning/jobs/{fine_tuning_job_id}/checkpoints' },
116 'listInputItems' => { method => 'GET', path => '/responses/{response_id}/input_items' },
117 'listMessages' => { method => 'GET', path => '/threads/{thread_id}/messages' },
118 'listModels' => { method => 'GET', path => '/models' },
119 'listOrganizationCertificates' => { method => 'GET', path => '/organization/certificates' },
120 'listPaginatedFineTuningJobs' => { method => 'GET', path => '/fine_tuning/jobs' },
121 'listProjectCertificates' => { method => 'GET', path => '/organization/projects/{project_id}/certificates' },
122 'listRunSteps' => { method => 'GET', path => '/threads/{thread_id}/runs/{run_id}/steps' },
123 'listRuns' => { method => 'GET', path => '/threads/{thread_id}/runs' },
124 'listVectorStoreFiles' => { method => 'GET', path => '/vector_stores/{vector_store_id}/files' },
125 'listVectorStores' => { method => 'GET', path => '/vector_stores' },
126 'modify-project' => { method => 'POST', path => '/organization/projects/{project_id}', content_type => 'application/json' },
127 'modify-project-user' => { method => 'POST', path => '/organization/projects/{project_id}/users/{user_id}', content_type => 'application/json' },
128 'modify-user' => { method => 'POST', path => '/organization/users/{user_id}', content_type => 'application/json' },
129 'modifyAssistant' => { method => 'POST', path => '/assistants/{assistant_id}', content_type => 'application/json' },
130 'modifyCertificate' => { method => 'POST', path => '/organization/certificates/{certificate_id}', content_type => 'application/json' },
131 'modifyMessage' => { method => 'POST', path => '/threads/{thread_id}/messages/{message_id}', content_type => 'application/json' },
132 'modifyRun' => { method => 'POST', path => '/threads/{thread_id}/runs/{run_id}', content_type => 'application/json' },
133 'modifyThread' => { method => 'POST', path => '/threads/{thread_id}', content_type => 'application/json' },
134 'modifyVectorStore' => { method => 'POST', path => '/vector_stores/{vector_store_id}', content_type => 'application/json' },
135 'retrieve-invite' => { method => 'GET', path => '/organization/invites/{invite_id}' },
136 'retrieve-project' => { method => 'GET', path => '/organization/projects/{project_id}' },
137 'retrieve-project-api-key' => { method => 'GET', path => '/organization/projects/{project_id}/api_keys/{key_id}' },
138 'retrieve-project-service-account' => { method => 'GET', path => '/organization/projects/{project_id}/service_accounts/{service_account_id}' },
139 'retrieve-project-user' => { method => 'GET', path => '/organization/projects/{project_id}/users/{user_id}' },
140 'retrieve-user' => { method => 'GET', path => '/organization/users/{user_id}' },
141 'retrieveBatch' => { method => 'GET', path => '/batches/{batch_id}' },
142 'retrieveFile' => { method => 'GET', path => '/files/{file_id}' },
143 'retrieveFineTuningJob' => { method => 'GET', path => '/fine_tuning/jobs/{fine_tuning_job_id}' },
144 'retrieveModel' => { method => 'GET', path => '/models/{model}' },
145 'retrieveVectorStoreFileContent' => { method => 'GET', path => '/vector_stores/{vector_store_id}/files/{file_id}/content' },
146 'searchVectorStore' => { method => 'POST', path => '/vector_stores/{vector_store_id}/search', content_type => 'application/json' },
147 'submitToolOuputsToRun' => { method => 'POST', path => '/threads/{thread_id}/runs/{run_id}/submit_tool_outputs', content_type => 'application/json' },
148 'update-project-rate-limits' => { method => 'POST', path => '/organization/projects/{project_id}/rate_limits/{rate_limit_id}', content_type => 'application/json' },
149 'updateChatCompletion' => { method => 'POST', path => '/chat/completions/{completion_id}', content_type => 'application/json' },
150 'updateEval' => { method => 'POST', path => '/evals/{eval_id}', content_type => 'application/json' },
151 'updateVectorStoreFileAttributes' => { method => 'POST', path => '/vector_stores/{vector_store_id}/files/{file_id}', content_type => 'application/json' },
152 'uploadCertificate' => { method => 'POST', path => '/organization/certificates', content_type => 'application/json' },
153 'usage-audio-speeches' => { method => 'GET', path => '/organization/usage/audio_speeches' },
154 'usage-audio-transcriptions' => { method => 'GET', path => '/organization/usage/audio_transcriptions' },
155 'usage-code-interpreter-sessions' => { method => 'GET', path => '/organization/usage/code_interpreter_sessions' },
156 'usage-completions' => { method => 'GET', path => '/organization/usage/completions' },
157 'usage-costs' => { method => 'GET', path => '/organization/costs' },
158 'usage-embeddings' => { method => 'GET', path => '/organization/usage/embeddings' },
159 'usage-images' => { method => 'GET', path => '/organization/usage/images' },
160 'usage-moderations' => { method => 'GET', path => '/organization/usage/moderations' },
161 'usage-vector-stores' => { method => 'GET', path => '/organization/usage/vector_stores' },
162 },
163 };
164 1567 return $DATA;
165 }
166  
167 101 1;
168  
169 __END__
« blib/lib/Langertha/Spec/Ollama.pm ↑ Summary blib/lib/Langertha/Engine/AnthropicBase.pm »