ChatBot-UI-With-API / pipeline.json
mukaist's picture
Update pipeline.json
3d374d5 verified
{
"api": {
"models": {
"Hepzeka.com | Llama-3.3-70B-Instruct": {
"type": "image-text-to-text",
"api_url": "https://api-inference.huggingface.co/models/meta-llama/Llama-3.3-70B-Instruct/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"DeepSeek-R1-Distill-Qwen-32B": {
"type": "image-text-to-text",
"api_url": "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"Phi-3.5-mini-instruct": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/microsoft/Phi-3.5-mini-instruct/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"Mistral-Nemo-Instruct-2407": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"SmallThinker-3B-Preview": {
"type": "Text Generation",
"api_url": "https://api-inference.huggingface.co/models/PowerInfer/SmallThinker-3B-Preview/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
},
"Llama-3.2-11B-Vision-Instruct": {
"type": "image-text-to-text",
"api_url": "https://api-inference.huggingface.co/models/meta-llama/Llama-3.2-11B-Vision-Instruct/v1/chat/completions",
"headers": {
"Content-Type": "application/json",
"x-use-cache": "false",
"config": {
"comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
"Authorization": "Bearer os.environ.get('auth')"
}
}
}
}
},
"handle_stream": true
}