/yoda-ai-python

An AI chatbot API with Python, Langchain and FastAPI.

Primary LanguagePython

Yoda AI: Your Wise Companion

Welcome to Yoda AI, your ultimate AI companion! Yoda is designed to be your go-to solution for a wide range of tasks, from answering questions and providing insights to offering assistance and entertainment. In this document, we'll introduce you to the exciting world of Yoda AI and guide you through getting started.

Introduction

Yoda AI is a cutting-edge artificial intelligence designed to enhance your daily life. It combines natural language understanding, machine learning, and a vast knowledge base to assist you with a wide range of tasks. Whether you need answers to questions, want to engage in meaningful conversations, or simply seek entertainment, Yoda AI has you covered.

Key Features

  1. Conversational AI: Hold engaging conversations with Yoda AI, just like chatting with a friend.

  2. Knowledge Base: Access a wealth of information, facts, and insights across various domains.

  3. Personal Assistant: Set reminders, create to-do lists, and get weather updates.

  4. Entertainment: Enjoy jokes, riddles, and even some wisdom from the wise Yoda himself.

  5. Customization: Tailor Yoda AI to your preferences and needs.

Tech Used

  1. Python: Yoda AI's backend is powered by Python. Python is leading in the development of AI and Machine Learning platforms.

  2. FastAPI: FastAPI is a minimal and flexible Python web application framework, it's used for building the API endpoints that power Yoda AI's interactions. It simplifies routing, middleware integration, and request handling.

  3. Langchain, LLMs & OpenAI: I started by using OpenAI to build the AI and I will include a branch called llm which has code for the same using Langchain and LLMs.

Running

To run this server, you need to clone the repo to your local environment.

git clone https://github.com/efenstakes/yoda-ai-python

Navigate to the folder.

cd ./yoda-ai-python

Install dependencies

pip install -r requirements.txt

Run the fastAPI yoda server with:

uvicorn main:app --reload

Or:

python3 main.py

Happy building :(.

Extras

I build a similar API to this in Golang and Node.js. You can find it here in my github.

Contact

If you wish to contact me, use my email efenstakes101@gmail.com.