experimental / api_info.py
Last commit not found
raw
history blame
4.18 kB
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
"""