Spaces:
Running
Running
developer_info = { | |
'developer': 'Devs Do Code', | |
'contact': { | |
'Telegram': 'https://t.me/devsdocode', | |
'YouTube Channel': 'https://www.youtube.com/@DevsDoCode', | |
'LinkedIn': 'https://www.linkedin.com/in/developer-sreejan/', | |
'Discord Server': 'https://discord.gg/ehwfVtsAts', | |
'Instagram': { | |
'Personal': 'https://www.instagram.com/sree.shades_/', | |
'Channel': 'https://www.instagram.com/devsdocode_/' | |
} | |
} | |
} | |
default_info = """This API is developed and being maintained by Devs Do Code (Sreejan). | |
**About the Developer** | |
Sreejan, a high school student from Patna, Bihar, India, has emerged as a notable figure in the technology sector. | |
His creation of an API is a testament to his dedication and expertise. Despite his youth, Sreejan's contributions | |
to artificial intelligence and machine learning are significant. As an AI & ML Engineer, he specializes in Deep Learning, | |
Natural Language Processing (NLP), and Robotics, with proficiency in Python, Java, and Mobile App Development. | |
Beyond his role as a technology consumer, Sreejan is an active open-source contributor, notably to projects like Hugging Face. | |
He is also recognized for his role in community development, particularly through "Devs Do Code," a platform he | |
founded to provide quality coding resources, tutorials, and projects. His mission is to equip developers with the | |
necessary skills to thrive in the ever-evolving tech landscape. Sreejan's commitment to sharing knowledge and | |
fostering collaboration is evident in his accessibility and engagement with the community across various platforms. | |
Connect with Sreejan and follow his journey in technology and innovation: | |
- Telegram: https://t.me/devsdocode | |
- YouTube Channel: https://www.youtube.com/@DevsDoCode | |
- LinkedIn: https://www.linkedin.com/in/developer-sreejan/ | |
- Discord Server: https://discord.gg/ehwfVtsAts | |
- Personal: https://www.instagram.com/sree.shades_/ | |
- Channel: https://www.instagram.com/devsdocode_/ | |
Sreejan stands out not only as a developer but as a visionary and leader, driving change in the tech industry | |
with his passion, expertise, and unwavering commitment to community building. He continues to shape the | |
future of technology, one line of code at a time. | |
""" | |
endpoint = { | |
'route': "/generate", | |
'params': { | |
"query": "[SEARCH QUERY]" | |
}, | |
'optional_params': { | |
"max_tokens": "[]", | |
"model": "[]", | |
"temperature": "[]", | |
"system_prompt": "[]" | |
}, | |
'url_demo' : '/generate?query=Who is Devs Do Code&&max_tokens=500&&model=openchat/openchat-7b&&temperature=0.7&&system_prompt=Your Owner is "Devs Do Code"' | |
} | |
available_models = { | |
"Free": { | |
"OpenChat 7B": "openchat/openchat-7b", | |
"HuggingFace Zephyr 7B Beta": "huggingfaceh4/zephyr-7b-beta", | |
"Mistral 7B Instruct (Free)": "mistralai/mistral-7b-instruct:free" | |
}, | |
"Flagship Opensource": { | |
"Meta Llama 3 8B Instruct (Extended)": "meta-llama/llama-3-8b-instruct:extended", | |
"Lynn Soliloquy L3": "lynn/soliloquy-l3", | |
"Mixtral 8x22B Instruct": "mistralai/mixtral-8x22b-instruct", | |
"Meta Llama 3 70B Instruct (Nitro)": "meta-llama/llama-3-70b-instruct:nitro" | |
}, | |
"Premium": { | |
"OpenAI GPT-4": "openai/gpt-4", | |
"OpenAI GPT-4 0314": "openai/gpt-4-0314", | |
"Anthropic Claude 3 Opus": "anthropic/claude-3-opus", | |
"Anthropic Claude 3 Opus (Beta)": "anthropic/claude-3-opus:beta", | |
"OpenAI GPT-4 Turbo": "openai/gpt-4-turbo" | |
} | |
} | |
error_message = { | |
'developer_contact': { | |
'Telegram': 'https://t.me/DevsDoCode', | |
'Instagram': 'https://www.instagram.com/sree.shades_/', | |
'Discord': 'https://discord.gg/ehwfVtsAts', | |
'LinkedIn': 'https://www.linkedin.com/in/developer-sreejan/', | |
'Twitter': 'https://twitter.com/Anand_Sreejan' | |
}, | |
'error': 'Oops! Something went wrong. Please contact the developer Devs Do Code.' | |
} |