ai-playground

ai-playground

Code from tutorials presented on the "Code AI with Rok" YouTube channel

Stars: 116

Visit
 screenshot

The ai-playground repository contains code from tutorials presented on the Code AI with Rok YouTube channel. It includes tutorials on using the OpenAI Assistants API v1 beta to build personal math tutors, customer support chatbots, and more. Additionally, there are tutorials on using Gemini Pro API, Snowflake Cortex LLM functions, LlamaIndex chat streaming app, Fetch.ai uAgents, Milvus Standalone, spaCy for NER, and more. The repository aims to provide practical examples and guides for developers interested in AI-related projects and tools.

README:

Code from tutorials presented on the
Code AI with Rok YouTube channel

Enjoying what you find in this repository? Your star ⭐ would be greatly appreciated!


Table of contents

👾 LLMs 👾

Tutorial title Tutorial description Tech stack Links
#1 Get response in JSON format Python and Node.js examples on how to get a JSON response using the OpenAI Chat Completions API Python badge JavaScript badge Node.js badge GitHub YouTube
#2 Build a personal math tutor*
*Assistants API v1 beta
Python and Node.js examples on how to build a personal math tutor using the OpenAI Assistants API v1 beta with the Code Interpreter tool Python badge JavaScript badge Node.js badge GitHub YouTube
#3 GUI for a personal math tutor*
*Assistants API v1 beta
Next.js GUI for the #2 Build a personal math tutor tutorial Next.js badge Tailwind CSS badge Material UI badge GitHub YouTube
#4 Build a customer support chatbot*
*Assistants API v1 beta
Python and Node.js examples on how to build a customer support chatbot using the OpenAI Assistants API v1 beta with the Knowledge Retrieval tool Python badge JavaScript badge Node.js badge GitHub YouTube
#5 TUI for a customer support chatbot*
*Assistants API v1 beta
Python and Node.js TUIs for the #4 Build a customer support chatbot tutorial Python badge JavaScript badge Node.js badge GitHub YouTube
#6 TUI for a customer support chatbot with response streaming*
*Assistants API v1 beta
Python and Node.js TUIs for the #4 Build a customer support chatbot tutorial with response streaming Python badge JavaScript badge Node.js badge GitHub YouTube
#7 TUI for assistants: response polling vs. streaming*
*Assistants API v2 beta
Python and Node.js TUIs for assistants to show the difference between response polling (manual or with a helper) and streaming (with a helper) Python badge JavaScript badge Node.js badge GitHub YouTube
#8 LLMs explained Python and Node.js examples on how LLMs work using the OpenAI SDK top_logprobs parameter Python badge JavaScript badge Node.js badge GitHub YouTube
Tutorial title Tutorial description Tech stack Links
#1 Gemini Pro API starter Python and Node.js examples on how to use the Gemini Pro API Python badge JavaScript badge Node.js badge GitHub YouTube
#2 Vertex AI Gemini Pro API starter Python and Node.js examples on how to use the Vertex AI Gemini Pro API Python badge JavaScript badge Node.js badge GitHub YouTube

🛠️ Frameworks 🛠️

Tutorial title Tutorial description Tech stack Links
#1 TUI for a LangGraph agent with a web connection via the Tavily tool Python and Node.js TUIs for a LangGraph ReAct agent using the Tavily tool to get a web connection and an OpenAI LLM Python badge JavaScript badge Node.js badge GitHub YouTube
#2 TUI for a LangGraph agent with memory Add memory to the #1 TUI for a LangGraph agent with a web connection via the Tavily tool tutorial Python badge JavaScript badge Node.js badge GitHub YouTube
#3 TUI for a LangGraph agent with persistent memory using PostgreSQL Add persistent memory using PostgreSQL to the #1 TUI for a LangGraph agent with a web connection via the Tavily tool tutorial Python badge Coming soon... ✨ Coming soon... ✨
Tutorial title Tutorial description Tech stack Links
#1 Create Llama app Instructions on how to create a LlamaIndex chat streaming app using Next.js GUI and an OpenAI LLM with 1 command in 2 minutes Next.js badge GitHub YouTube
#2 GUI for a travel recommendation RAG Streamlit GUI for a travel recommendation RAG with response streaming using LlamaIndex with an OpenAI LLM Streamlit badge GitHub YouTube
#3 Eval of a travel recommendation RAG Evaluation of the #2 GUI for a travel recommendation RAG tutorial Python badge GitHub YouTube
Tutorial title Tutorial description Tech stack Links
#1 GUI for a personal recipe assistant Streamlit GUI for a personal recipe assistant that generates recipes based on the available ingredients recognized from the uploaded photo and selected preferences by the user Streamlit badge GitHub YouTube

🤖 Agents 🤖

Tutorial title Tutorial description Tech stack Links
#1 Podcast prepper Python example using CrewAI, Anthropic LLM and Exa tool, designed for podcast hosts, helping them:
  • research a guest
  • prepare detailed insights about the guest
  • suggest relevant questions for an upcoming episode with the guest
Python badge Coming soon... ✨ Coming soon... ✨
Tutorial title Tutorial description Tech stack Links
#1 uAgents starter Python examples on how to:
  • build a Fetch.ai agent with a startup task
  • build a Fetch.ai agent with an interval task
  • build a Fetch.ai agent and get its address
  • build a Fetch.ai stateful agent
Python badge GitHub YouTube
#2 uAgents communication Python examples on how to make Fetch.ai agents communicate with each other locally or remotely using Almanac contracts Python badge GitHub YouTube

☁️ Cloud ☁️

Tutorial title Tutorial description Tech stack Links
#1 Snowflake Cortex LLM functions starter Python example on how to use the Snowflake Cortex LLM functions Python badge GitHub YouTube

🗃️ Vector DBs 🗃️

Tutorial title Tutorial description Tech stack Links
#1 Milvus Standalone starter Python and Node.js examples on how to install Milvus Standalone using Docker, connect to a Milvus Standalone server and list all Milvus collections Python badge JavaScript badge Node.js badge Docker badge GitHub YouTube
#2 Attu starter Instructions on how to run Attu, a GUI for Milvus Standalone, using Docker Docker badge GitHub YouTube
#3 Text similarity search Python example on how to do text similarity search with Milvus Standalone (Note: input vector is calculated with spaCy) Python badge spaCy badge Docker badge GitHub YouTube

💬 NLP 💬

Tutorial title Tutorial description Tech stack Links
#1 Add a new entity label to NER Jupyter Notebook example on how to add a new entity label to spaCy's default NER model Jupyter Notebook badge spaCy badge GitHub YouTube

⭐ Star history ⭐

Star history chart


🤝 Contributing 🤝

Thank you for considering contributing to my repository. While I don't accept direct additions of tutorials, I warmly welcome contributions in the following forms:

  • Reporting major issues: Found a bug, or error? Feel free to open an issue on GitHub. Be sure to provide as much detail as possible, including steps to reproduce the issue.
  • Fixing minor issues: Found a typo, grammatical error, or other small issue? Feel free to open a pull request to fix them directly.
  • Making suggestions: Have an idea how I can enhance my tutorials or topics I should cover? Share your thoughts by creating a new issue outlining your suggestion. I'll carefully consider all reasonable ideas.

To contribute, do the following:

  1. Fork this repository.
  2. Make your desired changes.
  3. Create a commit and push the changes.
  4. Create a pull request.

I'll review your pull request and get back to you as soon as possible.


📄 License 📄

This project is open source and available under the MIT License.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for ai-playground

Similar Open Source Tools

For similar tasks

For similar jobs