Pipeline
A pipeline refers to a series of data processing steps or operations that are performed in sequence to achieve a specific AI task or goal. An AI pipeline typically involves several stages, each with a specific function, and it is designed to process and transform input data into meaningful output. Each stage in the pipeline plays a crucial role in the overall AI process, and the effectiveness of the pipeline depends on the quality of data, the choice of algorithms, and the expertise in designing and optimizing each step.
List of Pipeline
To get the list of pipeline, send a GET request to the Pipeline Endpoint
https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/?page_no=1&page_size=5&apikey={{tapi_key}}
import requests
url = "https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/?page_no=1&page_size=5&apikey={{tapi_key}}"
payload={}
headers = {
'Authorization': 'Bearer {{Token}}',
'Content-Type': 'application/json',
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
curl --location -g 'https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/?page_no=1&page_size=5&apikey={{tapi_key}}' \
--header 'Authorization: Bearer {{Token}}' \
--header 'Content-Type: application/json'
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAi...
content-type: application/json; charset=utf-8
status: 202 Accepted
ratelimit-limit: 1200
ratelimit-remaining: 965
ratelimit-reset: 1415984218
Create Pipeline
To create the Pipeline, send a POST request to the Finetuning Endpoint
https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/upload/?name=pipeline-again&description=&apikey={{tapi_key}}
import requests
url = "https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/upload/?name=pipeline-again&description=&apikey={{tapi_key}}"
payload={}
files=[
('uploadfile',('1ef3dd1a-cc6e-45b0-8d69-cfef618fc50f',open('postman-cloud:///1ef3dd1a-cc6e-45b0-8d69-cfef618fc50f','rb'),'application/octet-stream'))
]
headers = {
'Authorization': 'Bearer {{Token}}',
'Content-Type': 'application/json',
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)
curl --location -g 'https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/upload/?name=pipeline-again&description=&apikey={{tapi_key}}' \
--header 'Authorization: Bearer {{Token}}' \
--header 'Content-Type: application/json' \
--form 'uploadfile=@"postman-cloud:///1ef3dd1a-cc6e-45b0-8d69-cfef618fc50f"'
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAi...
content-type: application/json; charset=utf-8
status: 202 Accepted
ratelimit-limit: 1200
ratelimit-remaining: 965
ratelimit-reset: 1415984218
Delete Pipeline
To delete the Pipeline, send a DELETE request to the Finetuning Endpoint
https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/{{pipeline_id}}/?apikey={{tapi_key}}
import requests
url = "https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/{{pipeline_id}}/?apikey={{tapi_key}}"
payload={}
headers = {
'Authorization': 'Bearer {{Token}}',
'Content-Type': 'application/json',
}
response = requests.request("DELETE", url, headers=headers, data=payload)
print(response.text)
curl --location -g --request DELETE 'https://api.e2enetworks.com/myaccount/api/v1/gpu/projects/{{project_id}}/pipelines/{{pipeline_id}}/?apikey={{tapi_key}}' \
--header 'Authorization: Bearer {{Token}}' \
--header 'Content-Type: application/json'
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAi...
content-type: application/json; charset=utf-8
status: 202 Accepted
ratelimit-limit: 1200
ratelimit-remaining: 965
ratelimit-reset: 1415984218