https://github.com/efenstakes/yoda-ai-alpha-api-mini
A generative AI API using Amazon AWS Bedrock supporting text and image generation.
https://github.com/efenstakes/yoda-ai-alpha-api-mini
aws aws-bedrock aws-lambda bedrock fastapi python
Last synced: 8 months ago
JSON representation
A generative AI API using Amazon AWS Bedrock supporting text and image generation.
- Host: GitHub
- URL: https://github.com/efenstakes/yoda-ai-alpha-api-mini
- Owner: efenstakes
- Created: 2023-12-07T17:20:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-08T08:45:27.000Z (almost 2 years ago)
- Last Synced: 2025-01-01T02:22:57.383Z (10 months ago)
- Topics: aws, aws-bedrock, aws-lambda, bedrock, fastapi, python
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Yoda AI V2: Your Wise Companion
## ~Supporting Both Image and Text Generation
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, offering assistance and entertainment to image generation (in the main version, PS This is private). 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. Text to Image Generation: This version of yoda can generate images from text prompts from users.
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. AWS Bedrock: AWS Bedrock has become a great utility for companies looking to build Generative AI products and ship them to users fast. I used it for Yoda AI to leverage the variety of models available, open source and otherwise.
# Production Recommendations
For a production environment, I would recommend that devs do a deep dive into the available models to select one that best fits their requirements, deploy them, do thorough performance tests, fine tune them for good performance.# Running
To run this server, you need to clone the repo to your local environment.```sh
git clone https://github.com/efenstakes/yoda-alpha yoda
```Navigate to the folder.
```sh
cd ./yoda
```Install dependencies
```sh
pip install -r requirements.txt
```Run the fastAPI yoda server with:
```sh
uvicorn main:app --reload
```Or:
```sh
python3 main.py
```Happy building :(.
## Extras
I intent to build a similar API to this in Golang and Node.js. You will be able to find it here in my github in time.## Contact
If you wish to contact me, use my email efenstakes101@gmail.com.