How to Use Other LLMs in Botpress
# 📖tutorials
f
Useful Links: - Together Platform: https://www.together.ai - Available Models: https://docs.together.ai/docs/inference-models - API Parameters for Customizations: https://docs.together.ai/reference/completions - Understanding Error Codes: https://docs.together.ai/docs/error-codes - **Youtube Tutorial**:

https://youtu.be/lji1kpbkrbA

- Link to try it out: http://aws.aiblogs.dk
As a best practive the API key should be stored in a Configuration Variable which can be found under Bot Settings.
j
Hey man what is LLMS
Thanks for sharing, Decay! This is going to be so nice to try!
Remember to watch, like, comment, share & subscribe! ⚡ [CodingDecay](

https://www.youtube.com/watch?v=lji1kpbkrbA

)
Let's ask our old pal ChatGPT! 🫡 Question: "Can you tell me about LLMs in AI and the chatbot field, please?" ChatGPT: "Certainly! "LLMs" in AI refers to "Large Language Models." These are advanced artificial intelligence models that have been trained on vast amounts of text data. They are designed to understand, interpret, and generate human language in a way that is coherent and contextually relevant. In the field of chatbots, LLMs have significantly enhanced the capabilities of these systems. Traditional chatbots often followed rigid, rule-based responses, but with LLMs, chatbots can engage in more natural, conversational, and dynamic interactions with users. This is because LLMs can process and generate language that is more nuanced and varied, allowing for more personalized and sophisticated dialogues. Key features of LLMs in chatbots include: Natural Language Understanding (NLU): They can understand user inputs more accurately, even if the input is ambiguous or complex. Contextual Awareness: LLMs can maintain context over a conversation, remembering previous exchanges and responding accordingly. Language Generation: They can generate human-like responses, making the interaction more engaging and less robotic. Learning and Adaptation: Some LLMs can learn from interactions to improve their performance over time. LLMs like OpenAI's GPT-3 have been groundbreaking in this area, offering capabilities that are being leveraged in various applications, including customer service, personal assistants, content creation, and more. However, it's important to note that while LLMs are powerful, they are not without challenges, such as ensuring accuracy, preventing the generation of inappropriate content, and maintaining privacy and ethical standards."
j
i remember now.
c
Great one @fresh-fireman-491 . Loved the tutorial ⚡⚡
f
Thank you @clean-holiday-47965 ❤️
w
Great work mate! I am trying to use a new LLM named Moonshot in Botpress. It provides API fully compatible with OpenAI's API. Following your way, will this ExecuteCode part work as AI Generate Text does and work well with other parts in botpress like KBs access? Or I have to code all of them again? BTW I am a beginner in coding.THX for your work again!
@fresh-fireman-491
f
It would. You would save the response from the API call in a variable in Botpress, like you would with the AI Generate Text card, and then you can use it as you wish.
w
THX!
34 Views