Spaces:
Running
Running
File size: 4,180 Bytes
09d87c8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
developer_info = {
'developer': 'Hey Yo Me',
'contact': {
'Telegram': 'https://t.me/heyo',
'YouTube Channel': 'https://www.youtube.com/@heyo',
'LinkedIn': 'https://www.linkedin.com/in/heyo/',
'Discord Server': 'https://discord.gg/heyo',
'Instagram': {
'Personal': 'https://www.instagram.com/heyo/',
'Channel': 'https://www.instagram.com/heyo/'
}
}
}
endpoint = {
'route': "/generate",
'params': {
"query": "[SEARCH QUERY]"
},
'optional_params': {
"model": "[]",
"temperature": "[]",
"system_prompt": "[]"
},
'url_demo' : '/generate?query=Who is heyo&&model=command-r-plus&&temperature=0.7&&system_prompt=Your Owner is "heyo"'
}
model_providers = {
"OpenAI": {
"models": [
"gpt-3.5-turbo",
"gpt-3.5-turbo-202201",
"gpt-4o",
"gpt-4o-2024-05-13",
"o1-preview"
],
"description": "OpenAI's GPT language models"
},
"Anthropic": {
"models": [
"claude",
"claude-3-5-sonnet",
"claude-sonnet-3.5",
"claude-3-5-sonnet-20240620"
],
"description": "Anthropic's Claude language models"
},
"Meta": {
"models": [
"llama-2-7b-chat",
"llama-2-7b-chat-int8",
"llama-3-8b-instruct",
"llama-3.1-8b-instruct",
"llama-3.1-405b",
"llama-3.1-70b",
"llama-3.1-8b",
"llama-3.2-11b-vision",
"llama-3.2-1b",
"llama-3.2-3b",
"llama-3.2-90b-vision",
"llama-guard-3-8b"
],
"description": "Meta's LLaMA language models"
},
"Mistral": {
"models": [
"mistral",
"mistral-large",
"mistral-7b-instruct-v0.1",
"mistral-7b-instruct-v0.2",
"mistral-7b-instruct-v0.3",
"mixtral-8x22b",
"mixtral-8x7b"
],
"description": "Mistral AI's language models"
},
"Qwen": {
"models": [
"qwen1.5-0.5b-chat",
"qwen1.5-1.8b-chat",
"qwen1.5-7b-chat",
"qwen1.5-14b-chat",
"qwen2.5-3b",
"qwen2.5-72b",
"qwen2.5-coder-32b"
],
"description": "Qwen's language models"
},
"Google": {
"models": [
"gemma-2b",
"gemma-7b",
"gemini-pro",
"gemini-1.5-pro",
"gemini-1.5-pro-latest",
"gemini-1.5-flash"
],
"description": "Google's Gemini and Gemma models"
},
"Cohere": {
"models": [
"aya-23-35b",
"aya-23-8b",
"command",
"command-light",
"command-nightly",
"command-r",
"command-r-plus",
"rerank-english-v2.0",
"rerank-english-v3.0",
"rerank-multilingual-v2.0",
"rerank-multilingual-v3.0"
],
"description": "Cohere's language models"
},
"Microsoft": {
"models": [
"phi-2",
"dialogpt-medium",
"phi-3-medium-4k",
"phi-3-mini-4k",
"phi-3.5-mini",
"wizardlm-2-8x22b"
],
"description": "Microsoft's language models"
},
"Yi": {
"models": [
"yi-1.5-34b-chat",
"yi-34b-chat"
],
"description": "01.AI's Yi language models"
}
}
error_message = {
'developer_contact': {
'Telegram': 'https://t.me/heyo',
'Instagram': 'https://www.instagram.com/heyo/',
'Discord': 'https://discord.gg/heyo',
'LinkedIn': 'https://www.linkedin.com/in/heyo/',
'Twitter': 'https://twitter.com/heyo'
},
'error': 'Oops! Something went wrong. Please contact the developer heyo.'
}
default_info = """This API is developed and being maintained by heyo.
**About the Developer**
heyo is chill guy
"""
|