Best of Bots — August 2024
- 1
- 2
DEV·2y
Create Your Own AI Discord Bot with Julep
Creating a Discord bot that interacts with users can be tough and time-consuming, but Julep simplifies the process. Julep is a platform that aids in building stateful, functional LLM-powered applications with minimal coding. The post offers a step-by-step guide to creating an AI Discord bot using Node.js, Julep SDK, and Discord.js. Key features of Julep include composio tools integration, support for multiple AI agents, and in-built RAG, making it stand out from other platforms like OpenAI's GPT-3. Detailed instructions for setting up, obtaining API keys, and deploying the bot are provided.
- 3
Streamlit·2y
How to create an AI chatbot using one API to access multiple LLMs
Learn to create an AI chatbot app using Replicate and Streamlit, integrating multiple LLMs with a single API call. The post covers basics of Replicate, a platform for deploying and fine-tuning open-source AI models, and Streamlit, a Python framework for building interactive apps. It includes a step-by-step demo for setting up the chatbot app and best practices for using Replicate, such as choosing the right model for the prompt and utilizing webhooks and streaming for performance improvements.
- 4
Javarevisited·2y
Creating Locally-Running LLM Chatbot using Java and Spring Boot
Learn how to create a locally-running chatbot using a pre-trained LLM model with Java and Spring Boot. The tutorial guides you through using the llama.cpp library ported to Java and setting up necessary components like the model and prompt, as well as handling the chatbot's main service. Detailed code snippets are provided for a comprehensive understanding.
- 5
Vaadin·2y
Building an OpenAI-powered chatbot in Java
Learn how to build a chatbot using OpenAI's Chat Completions API integrated into a Vaadin Flow chat application. The post walks you through creating a simple chat UI, setting up a Java API to interact with OpenAI, and enabling both synchronous and asynchronous chat functionalities. It also covers using WebSockets for real-time updates and provides tips for customizing Vaadin components. The complete source code is available on GitHub.
- 6
Baeldung·2y
Create a ChatGPT Like Chatbot With Ollama and Spring AI
Learn how to create a basic help desk chatbot using the Spring AI module and the open-source Ollama library with Meta's llama3 model. The guide covers setting up the environment, adding necessary dependencies, configuring the chatbot, and managing conversational history. Example API calls and responses are provided to demonstrate interaction with the chatbot.
- 7
- 8
GoPenAI·2y
Building a Database-Driven Chatbot with LangChain and OpenAI: A Practical Approach (Part 2, Chaining)
This post is the second part of a series on building a database-driven chatbot using LangChain and OpenAI. It details how to use chaining capabilities in LangChain to link outputs and create a seamless response generation process. By combining multiple chains such as query generation, query execution, and answer generation into one unified chain, the workflow becomes more efficient. The final chain can be invoked with sample input to generate a natural language response from a database query.