Default Fallback
Default Fallback
  • 24
  • 36 985
Novel-Writing AI Chatbot - POC
The “fractal” technique and the novel-writing prompts - by James Hamilton / The Nerdy Novelist (www.youtube.com/@TheNerdyNovelist)
Video contains stock videos from Canva Pro (www.canva.com/)
Google Slides with more information (prompts, generated texts and designs, links etc): docs.google.com/presentation/d/1j9R-TYPk5RrsS6gGL6VLDD5PSSnqwQJ__wvIhtTUCS8/edit?usp=sharing
Conversation flow diagram: github.com/IuriiD/novel-writing-bot-poc
Sample OpenAI chats:
- Story ideas generation - chat.openai.com/share/b3d97a20-a944-412b-b15e-b3d1ce543861
- Generating Synopsis / Chapters / Beats / Prose:
chat.openai.com/share/629f3353-3caa-4896-99e6-83bb7b67a7da
- Literature “critic”: chat.openai.com/share/dfcf20dc-58a4-4ae2-ade5-fcab889bc5e0
Переглядів: 204

Відео

OpenAI Assistants API w/ Retrieval vs "Custom" RAG: which is better for customer support automation?
Переглядів 1,1 тис.6 місяців тому
In this video I share two applications for customer support automation built based on the retrieval augmented generation (RAG) approach: - github.com/IuriiD/ai24support-openai-pinecone-rag - a more "classical" and "custom" RAG built using Openai Embeddings and Chat Completions APIs Pinecone vector DB; - github.com/IuriiD/ai24support-openai-assistants-api - an app built using the recently announ...
Pinecone vs FAISS vs pgvector + OpenAI Embeddings
Переглядів 12 тис.11 місяців тому
Comparing 3 vector databases - Pinecone, FAISS and pgvector in combination with OpenAI Embeddings for the semantic search. Please find the corresponding Google Colabs: - Pinecone - colab.research.google.com/drive/1ZYH9pU3wyjGSY1ZcZQoJTy7HNyKh0RBa?usp=sharing - FAISS - colab.research.google.com/drive/18pUNh5hTF9StudBqiBUmvcBFCuKf7B2W?usp=sharing - pgvector - colab.research.google.com/drive/1Jhkf...
Create a children's book using Midjourney and ChatGPT - end-to-end example
Переглядів 16 тис.Рік тому
In this project I used Midjourney (www.midjourney.com/) and OpenAI's ChatGPT (chat.openai.com/) to create a children's illustration book for my kids. The video shows how to get an idea for illustration, generate the needed images (Midjourney) and dialogs (ChatGPT) and combine these into a book. Please see the presentation used in the video, and the resulting book's pages at github.com/IuriiD/mi...
Sematic - use GPT4ALL, FAISS & HuggingFace Embeddings for local context-enhanced question answering
Переглядів 6 тис.Рік тому
Google Colab: colab.research.google.com/drive/1csJ9lzewAaBVNSO9icJC5iT7xVrUbcg0?usp=sharing Github repository: github.com/IuriiD/sematic
Generate Dialogflow chatbots automatically using OpenAI-Pinecone stack
Переглядів 572Рік тому
Easybot is a pet project which uses OpenAI Embeddings API (platform.openai.com/docs/api-reference/embeddings), OpenAI Completions API (platform.openai.com/docs/api-reference/completions), managed vectors database Pinecone (www.pinecone.io/) (together called OpenAI-Pinecone [OP] stack) as a question-answering setup for automatic generation of Dialogflow chatbots (using Dialogflow V2 API). Projec...
Memorate - Generate Questions to a text or Youtube video using OpenAI API and Streamlit.io
Переглядів 132Рік тому
A pet project created while learning to work with OpenAI APIs and streamlit.io. More info: github.com/IuriiD/memorate
"TL;DR" - question answering with BERT and text summarizing using NLTK (CS50 Final Project)
Переглядів 2233 роки тому
This is my final project in the online CS50 course (cs50.harvard.edu/x/2020/) and also my first acquaintance with BERT and NTLK. Text is summarized following extractive summarization approach using Natural Language Toolkit (NLTK, www.nltk.org/, implementation adapted from [1]) and question answering is implemented using a pre-trained machine learning model BERT, fine-tuned on the SQuAD benchmar...
Sentiment Indicator on Scratch
Переглядів 464 роки тому
A detailed tutorial that describes how to make a ScratchX application (uses a custom extension) that passes user's input to Google Natural Language API to get the sentiment score and magnitude and displays these parameters visually and with sounds. Resources: 👉 Repository with Scratch app (.sbx) and a custom extension file (.js): github.com/IuriiD/sentimentIndicatorScratchBot 👉 Scratch: scratch...
AutoUpdatingBot - using intentDetectionConfidence score to add training phrases
Переглядів 504 роки тому
In this update to the previous video ua-cam.com/video/z8njCLPj9nk/v-deo.html , in this series we will update our bot so that it will be able to automatically save new training phrases to the existing intents based on their similarity to the existing ones (using the intentDetectionConfidence value). Resources mentioned in the video: 👉 Repository of this project (with Dialogflow agent exported): ...
AutoUpdatingBot - Adding intents through dialogue (Dialolgflow, node.js)
Переглядів 2874 роки тому
In this video we will create an auto-updating chatbot which will be self-expanding with new training phrases/responses (intents) through the dialog. The bot will be built on Dialogflow with a webhook written on node.js and hosted on Heroku. Resources mentioned: 👉 Repository of this project (with Dialogflow agent exported): github.com/IuriiD/autoUpdatingBot.git 👉 NLP platform used: dialogflow.co...
How to create a Chatbot that encrypts to Morse code by blinking with a diode on ESP32 board
Переглядів 1764 роки тому
This is a step-by-step tutorial on how to create a chatbot on Dialogflow with webhook a node.js, which will receive user's inputs via Dialogflow's Web Demo and encrypt them into Morse code, responding with dots and dashes in Web Demo form and simultaneously blinking the resulting code with the diode on an ESP32 board (programmed on JavaScript using ESPRUINO framework). Resources mentioned in th...
Create a SecretSanta IT quest with a Chatbot to surprise your friends/Company
Переглядів 624 роки тому
In this video I describe a small IT-quest which included a chatbot. This quest was created as my present in the context of the Secret-Santa-2019 event in my Company. This simple chatbot was created using Dialogflow and a webhook written on node.js (hosted on Glitch.com). Feel free to use this quest and/or the bot if you like it. Resources mentioned in the video: 👉 My Glitch project to remix - g...
11. Thoughts, perspectives, ideas [Chatbot tutorial - from idea to launch]
Переглядів 154 роки тому
Here I describe my general thoughts about perspectives of automatization of city quests, variants of their monetization and directions of their development. 👉 Questo: www.questoapp.com/
10. Screencast of passing the quest [Chatbot tutorial - from idea to launch]
Переглядів 224 роки тому
10. Screencast of passing the quest [Chatbot tutorial - from idea to launch]
9. Airtable: saving users' data and getting final rating [Chatbot tutorial - from idea to launch]
Переглядів 614 роки тому
9. Airtable: saving users' data and getting final rating [Chatbot tutorial - from idea to launch]
8. Chatfuel: Intro, rules and other general stuff, LiveChat [Chatbot tutorial - from idea to launch]
Переглядів 204 роки тому
8. Chatfuel: Intro, rules and other general stuff, LiveChat [Chatbot tutorial - from idea to launch]
7. Adding webhooks (node.js, Glitch, Google Vision API) [Chatbot tutorial - from idea to launch]
Переглядів 7094 роки тому
7. Adding webhooks (node.js, Glitch, Google Vision API) [Chatbot tutorial - from idea to launch]
6. Chatfuel: more advanced logics, Persistent Menu and NLP [Chatbot tutorial - from idea to launch]
Переглядів 1774 роки тому
6. Chatfuel: more advanced logics, Persistent Menu and NLP [Chatbot tutorial - from idea to launch]
5. Making a basic quest task block in Chatfuel: [Chatbot tutorial - from idea to launch]
Переглядів 844 роки тому
5. Making a basic quest task block in Chatfuel: [Chatbot tutorial - from idea to launch]
4. Choosing architecture and requirements [Chatbot tutorial - from idea to launch]
Переглядів 794 роки тому
4. Choosing architecture and requirements [Chatbot tutorial - from idea to launch]
3. Preparing the contents [Chatbot tutorial - from idea to launch]
Переглядів 274 роки тому
3. Preparing the contents [Chatbot tutorial - from idea to launch]
2. Idea + reasoning of a chatbot format [Chatbot tutorial - from idea to launch]
Переглядів 434 роки тому
2. Idea reasoning of a chatbot format [Chatbot tutorial - from idea to launch]
1. Intro [Chatbot tutorial - from idea to launch]
Переглядів 824 роки тому
1. Intro [Chatbot tutorial - from idea to launch]

КОМЕНТАРІ

  • @AshishSeth
    @AshishSeth 2 місяці тому

    Good comparison of two ways to build RAG applications. Good video...

  • @IrinaBuzova
    @IrinaBuzova 2 місяці тому

    Thank you for this video, it is really very informative and useful 😊

  • @Chocolateman116
    @Chocolateman116 4 місяці тому

    Thank you, very insightful. Pleased to have come across your channel.

  • @ZERATELZP
    @ZERATELZP 5 місяців тому

    🎯 Key Takeaways for quick navigation: 00:00 📋 *Introduction to Semantic Search and Comparison of Vector Stores* - Introduction to the video's topic: Semantic search and comparison of vector stores. - Explanation of the project "dry" aimed at creating a chatbot for repetitive questions. - Overview of how semantic search can solve the problem of repetitive queries. 02:00 🤖 *Understanding Semantic Search and Embeddings Models* - Explanation of semantic search and embeddings models. - Description of the OpenAI embeddings model (text embeddings ada002). - How embeddings models generate dense vectors for text strings. 05:24 🌲 *Pinecone: Fully Managed Vector Database* - Introduction to Pinecone as a fully managed vector database. - Setting up a Pinecone project and environment variables. - Demonstrating the integration with Pinecone for semantic search. 09:18 🌟 *Pinecone Efficiency, Effort, and Cost Evaluation* - Evaluation of Pinecone's efficiency for semantic search. - Discussion of the low effort required for integration with Pinecone. - Consideration of Pinecone's cost, especially for commercial projects. 20:06 🧊 *Facebook Faiss: Efficient Similarity Search* - Introduction to Facebook Faiss as an efficient similarity search library. - Setting up environment variables for Faiss and pidgey vector. - Integration of Faiss with the ability to store metadata. 26:30 ⚙️ *Faiss Efficiency, Effort, and Cost Evaluation* - Evaluation of Faiss's efficiency for semantic search. - Discussion of the initial integration effort and the need for metadata storage. - Consideration of costs associated with Faiss, including RAM requirements. 29:32 🐘 *PGVector: PostgreSQL Extension for Vector Search* - Introduction to PGVector as a PostgreSQL extension for vector search. - Overview of using PGVector to search by vectors in PostgreSQL. - Setting up PostgreSQL for PGVector integration. 29:44 🧩 *Setting Up Environment Variables and Database Connection* - Setting environment variables for API keys, connection string, similarity limit, and top K records. - Explanation of options to obtain a PostgreSQL database. - Introduction to using Superbase as an online service for PostgreSQL. 31:16 🧬 *Integration with OpenAI API and PostgreSQL Database* - Installation of the OpenAI package and confirmation of interaction with the OpenAI API. - Establishing a connection to the PostgreSQL database and creating a test table. - Installing the PGVector extension for PostgreSQL. 34:28 🛠️ *Generating Embeddings, Storing Data, and Testing Similarity Search* - Explanation of functions for generating embeddings, creating vector IDs, and storing data in the table. - Testing similarity search using cosine distance and filtering results. - Applying the "get similar and store" function to a list of test messages. 38:13 💼 *PGVector Efficiency, Effort, and Cost Evaluation* - Evaluation of PGVector's efficiency in the context of the project. - Discussion of the complexity of integration compared to Pinecone. - Consideration of cost implications, including using existing PostgreSQL databases and managed services. Made with HARPA AI

  • @_timestamp
    @_timestamp 5 місяців тому

    🎯 Key Takeaways for quick navigation: 00:00 🌐 *Overview of Semantic Search with OpenAI Embeddings* - Introduction to three setups for semantic search using OpenAI embeddings: Pinecone, FAISS, and pgvector. - Overview of the project "dry" aimed at solving repetitive questions in chatbots using semantic search. - Explanation of the schema, involving generating vectors, searching the vector database, and storing metadata for incoming messages. 02:26 🧠 *Understanding Semantic Search and Embeddings* - Definition of embeddings models, with a focus on OpenAI's text embeddings ada002. - Explanation of how embeddings models generate dense vectors representing words, sentences, or paragraphs. - Clarification of how the multi-dimensional space in the model reflects the semantic meaning of different strings. 05:24 🍍 *Pinecone Integration* - Introduction to Pinecone as a fully managed Vector database. - Demonstration of setting up a project, specifying environment variables, and creating a Pinecone index. - Implementation of Pinecone integration in a Google Colab notebook, including generating vectors, saving them, and performing similarity searches. 16:24 💲 *Evaluation of Pinecone* - Efficiency assessment of Pinecone as a managed service for vector storage. - Low effort needed for integration with Pinecone due to available Python and TypeScript examples. - Consideration of costs, with the expectation of a $70/month plan being sufficient for a pet project but potentially expensive for larger-scale commercial use. 18:23 📚 *FAISS Integration* - Introduction to FAISS as a library for efficient similarity search of dense vectors. - Noting nuances of FAISS, including the need to manage large indexes and separate metadata storage. - Implementation of FAISS integration in a Google Colab notebook, demonstrating vector generation, saving, and similarity searches. 28:23 💲 *Evaluation of FAISS* - Recognition of FAISS's efficiency in similarity search with proper usage and fine-tuning. - Intermediate effort level due to additional considerations for metadata storage and potential index management. - Acknowledgment of potentially lower costs as an open-source package but with considerations for high RAM requirements. 29:18 🐘 *pgvector Integration* - Introduction to pgvector as an extension for PostgreSQL, allowing searching by vectors. - Setting environment variables and connecting to a PostgreSQL database using Superbase. - Creation of a table with columns for vector ID, text, embeddings, and metadata, including dimensionality. 34:00 💲 *Evaluation of pgvector* - Recognition of pgvector's efficiency with potential for fine-tuning in usage. - Intermediate effort level, considering the need for an additional database for metadata storage. - Acknowledgment of potential costs, including high RAM requirements and potential additional expenses for hosting metadata. 34:15 📊 *pgvector Database Operations* - Introduction to functions for counting rows and deleting rows by ID in pgvector. - Demonstration of adding test messages to the table, generating embeddings, and saving vectors with metadata. - Usage of functions to search for top relevant messages based on cosine distance and manual filtering. 35:58 🧾 *Testing Similarity Search with pgvector* - Implementation and explanation of the get top relevant messages function in pgvector. - Testing similarity search on three test messages with varying relevance scores. - Display of results, showcasing the closest match with a similarity score of 0.106. 36:41 🔄 *Searching and Storing Similar Messages in pgvector* - Introduction to the gets similar and store function, aiming to search for similar messages and store new messages. - Execution of the function on a list of 91 messages from a Telegram chat. - Confirmation of matches found and the addition of new messages to the pgvector database. 38:13 💼 *Evaluation of pgvector* - Efficiency rating of pgvector with three stars, indicating its capability for the intended purpose. - Effort assessment, noting a moderate complexity in integration, especially for users familiar with SQL queries. - Consideration of potential costs, suggesting minimal impact if an existing PostgreSQL database is already part of the architecture. Made with HARPA AI

  • @victorhenriquecollasanta4740
    @victorhenriquecollasanta4740 5 місяців тому

    brother, this was really useful for me, i was about to do all this work and you did it for me. So thank you! so much

  • @enricrypto9680
    @enricrypto9680 6 місяців тому

    Can you do a video with FAISS and Any DB (Postgres)?

    • @defaultfallback
      @defaultfallback 6 місяців тому

      Sorry, do you mean using FAISS as a search engine to query entries in Postgresql? Otherwise, this video contains a quick comparison of FAISS vs pgvector (Postgresql addon for vector search)

  • @migunovich
    @migunovich 6 місяців тому

    5:14 Pinecone 18:24 FIASS 29:17 pgvector

  • @user-xu8kj3rw7k
    @user-xu8kj3rw7k 6 місяців тому

    Very insightful for someone(me) new in this kind of GenAI applications. Thank you!

  • @0xeb-
    @0xeb- 7 місяців тому

    I wish you did not use langchain!

    • @bbrother92
      @bbrother92 2 місяці тому

      why

    • @0xeb-
      @0xeb- 2 місяці тому

      @@bbrother92 a 1000 pounds heavy framework that hides all the details from the user. I hate that framework.

    • @bbrother92
      @bbrother92 2 місяці тому

      @@0xeb- could you recommend something for image search, and labeling?

  • @alimahmoudmansour9681
    @alimahmoudmansour9681 7 місяців тому

    Great video thanks!

  • @christofferbjorkwall1441
    @christofferbjorkwall1441 7 місяців тому

    Quite useful and good comparison. It would have been easier to see using English sentences though. Well done!

    • @defaultfallback
      @defaultfallback 7 місяців тому

      Thanks, @christofferbjorkwall1441, and agree. I just had some local telegram chatbot communities in mind when working on this comparison, thus wanted in parallel to test embeddings on Ukrainian

  • @michaeldoyle4222
    @michaeldoyle4222 7 місяців тому

    QQ Doesn't using gdrive kind of defeat the object? Offline privacy....?

    • @defaultfallback
      @defaultfallback 7 місяців тому

      @michaeldoyle4222 You mean storing the FAISS index with vectorised contexts in GDrive? If yes, I need to note that this is done just in the context of this POC, not to process the information used as contexts (parse/split/get vectors) every time. In real app one could use some private cloud storage for that.

  • @Anton_Bond
    @Anton_Bond 8 місяців тому

    Добрий день! Дякую за дуже корисне та своєчасне відео. Маю питання, чи доцільно зберігати ембедінги в pgvector, а для similarity пошуку використовувати faiss?

    • @defaultfallback
      @defaultfallback 8 місяців тому

      Пан гурман 😎Чесно кажучи, я не думав про такий варіант і маю сумніви на рахунок того, чи це технічно можливо. А навіщо так?

    • @Anton_Bond
      @Anton_Bond 8 місяців тому

      @@defaultfallback Суть в тому що faiss треба постійно переіндексувати коли зʼявляться нові ембедінги, а в pgvector їх можна просто поступово додавати плюс зберігати усю додаткову інформацію в postgress. Але коли доходить до search similarity, faiss наче це робить швидше та точніше.

    • @defaultfallback
      @defaultfallback 8 місяців тому

      Поправлю свою першу відповідь - так, Postgresql цілком підходить як постійне сховище для векторів (і метаданих якщо треба), звідки вони можуть загружатись в оперативну пам*ять для пошуку за допомогою faiss

    • @bbrother92
      @bbrother92 2 місяці тому

      @@defaultfallback sir could you recommend vector db for images?

  • @PizzaLord
    @PizzaLord 8 місяців тому

    Yes I was specifically thinking about chatbot response speed

  • @mujtabaganie1905
    @mujtabaganie1905 8 місяців тому

    My question = how to generate the same charrector over and over again doing different things but with same style

    • @defaultfallback
      @defaultfallback 8 місяців тому

      Hi, @muktabaganie1905. When I was creating this book several months ago there were several approaches, such as using the --seed parameter or sending URLs to multiple images (with the needed character) as part of the prompt, and now probably there are some new ways. Please try searching for "midjourney consistent characters" here on YT - there are more detailed videos specifically on these techniques. I tried both --seed and image prompts, but it didn't work good enough.

    • @mujtabaganie1905
      @mujtabaganie1905 8 місяців тому

      @@defaultfallback thank you

    • @lydiaethe
      @lydiaethe 6 місяців тому

      learning to draw.

  • @PizzaLord
    @PizzaLord 8 місяців тому

    Which is fastest?

    • @defaultfallback
      @defaultfallback 8 місяців тому

      Hi, @PizzaLord. Sorry, but speed comparison wasn't in the scope of this (mini) project. The main question I tried to answer was: "Is it possible to replace Pinecone (which is a good and convenient but paid and "external" service) with something that is cheaper and can be fully in-house (e.g. pgVector)?" And the answer seems to be positive (at least based on such a limited comparison). I'm not sure about the speed - on small amounts of data I'd assume that the difference between the 3 may be negligible. On big volumes of vectors FAISS possibly could be the fastest (at least I saw such statements). Though if a vector DB is to be used as a part of some chatbot backend, where the bot is not expected to respond immediately, then even big differences (e.g. in 1 second) may still be acceptable IMHO.

    • @GeigenAkademie
      @GeigenAkademie 7 місяців тому

      I am using FAISS and it runs perfectly. It is very accurate and blazing fast. The only drawback is the databse, which has to be generated in advance, if adding new documents, it has to be created again (for my usecase no problem). I would recommend Faiss

    • @defaultfallback
      @defaultfallback 7 місяців тому

      @@GeigenAkademieThanks for sharing! What's your use case - you don't need to update the vectors?

    • @PizzaLord
      @PizzaLord 7 місяців тому

      @@GeigenAkademie I tried it for the vector data for a chatbot and it was really slow. why is that? using a .json file was way faster

    • @GeigenAkademie
      @GeigenAkademie 7 місяців тому

      @@PizzaLord My data is a 15MB pdf. The Faiss lookup in the database takes around 15ms for multiple results including score (however generating the vectorstore was around 45min) on a Laptop i5, 16GB memory. I'm using a local GPT4all embedding

  • @olcaybuyan
    @olcaybuyan 8 місяців тому

    MongoDB and Qdrant would be great additions to this test :) Great video! Thanks

  • @naya6780
    @naya6780 8 місяців тому

    Great project. You should create more and open a private story book rentals business like my mummy new fun hobby project that she's WORKING ON and do kids story movie too.

    • @defaultfallback
      @defaultfallback 8 місяців тому

      Sounds very cool! Is she sharing her work somehow? Not sure if I will be doing something like this commercially, but it's always interesting to see how people develop such projects

  • @ivanstepanovftw
    @ivanstepanovftw 8 місяців тому

    You could actually use faiss.IndexFlatIP for cosine similarity

  • @ivanstepanovftw
    @ivanstepanovftw 8 місяців тому

    I am proficient in Python as **, * in BERT and *** in machine learning and *** in MarkdownV2

  • @jma7889
    @jma7889 8 місяців тому

    When using a hosted pgvector postgre service, would the cost be more like 2.5 stars?

    • @defaultfallback
      @defaultfallback 8 місяців тому

      Hi. If by a "hosted Postgresql service" we mean e.g. AWS RDS for Postgresql and choose an instance like db.t3.small, and pay monthly ($0.036/h), it will be ~$26/month (aws.amazon.com/rds/postgresql/pricing/) which is 2.8 times less than the minimum paid plan on Pinecone ("Standard", $70/m)

  • @rahulguptargrg3
    @rahulguptargrg3 8 місяців тому

    Thank you for the great explanation. How does MongoDB fare in this regard?

    • @defaultfallback
      @defaultfallback 8 місяців тому

      You probably mean MongoDB Atlas Vector Search 🤔Sorry, but I didn't have a chance to try this one yet. Interesting to know, thank you for the hint!

  • @pradhumangupta3208
    @pradhumangupta3208 9 місяців тому

    Very helpful

  • @Chuukwudi
    @Chuukwudi 9 місяців тому

    Nice one mate. Just wish you did not use the russian text. As I do not understand russian, the results do not make any sense to me. But I am just believing... rather than knowing and seeing with my own eyes.

    • @defaultfallback
      @defaultfallback 9 місяців тому

      Hi, @Chuukwudi . Sorry for that. The reason why I used a non-English language because in parallel I wanted to check how good/bad the Embeddings model and similarity search will work with Ukrainian (that's not Russian, though also uses Cyrillic letters) as I might need to use pgvector instead of Pinecone for one local project (whose audience mainly uses this language).

    • @Chuukwudi
      @Chuukwudi 9 місяців тому

      @@defaultfallback Thank you very much. Sorry for the mistake, did not realise it was Ukrainian until you said it in the video after I had already commented. After watching your videos, I finally decided to use pgvectors as well. I am doing something similar and will find out for myself. Thank you very much once again.

    • @PierreDaguesseau
      @PierreDaguesseau 9 місяців тому

      @@defaultfallback greeting from Kazakhstan! I just wanted to say that It was very useful for me! Kazakh language is also written in cyrillic and your content was perfect for me

  • @andivax
    @andivax 9 місяців тому

    Браво! Крутий кейс! Єдиний момент - дракон схожий буде сильно на Беззубіка з мультфільму Діснея. Нейромережі у цьому сенсі небезпечна річ, комбінує готові рішення на основі захищенних авторським правом робіт.

    • @defaultfallback
      @defaultfallback 9 місяців тому

      Дякую за фідбек. У даному випадку це був не збіг, а бажаний результат (діти питали саме про такого дракона і в промпті буквально був Toothless dragon ;), але про копірайт я в цьому конкретно аспекті я якось не подумав 😬

    • @andivax
      @andivax 9 місяців тому

      @@defaultfallback ну, якщо для себе друкувати книгу, то не проблема.

  • @emilybelkina5071
    @emilybelkina5071 10 місяців тому

    You are a wonderful dad!👍👍👍

  • @ashishbhutada8008
    @ashishbhutada8008 10 місяців тому

    Thanks for a very concise and informative video!

  • @ron.bertino
    @ron.bertino 10 місяців тому

    Very useful. Thank you.

  • @lingua83
    @lingua83 11 місяців тому

    Beautiful project! My heart goes out to the people in Cherkasy ❤ I have a friend there 😊

  • @amitnair6455
    @amitnair6455 11 місяців тому

    Great video! You are so kind enough to share the contents of the book...pretty much everything. Wish you great success! Cheers.

  • @twostarswiss
    @twostarswiss 11 місяців тому

    Thx a lot, amazing video and great idea. Love it!

  • @defaultfallback
    @defaultfallback 11 місяців тому

    Hey! If you want to see some photos of the resulting printed book, please see the repository github.com/IuriiD/midjourneyKidsBook (added photos on July 02, 2023)

  • @lunaalice7763
    @lunaalice7763 Рік тому

    What pet did you get them in the end?🐶

    • @defaultfallback
      @defaultfallback Рік тому

      Right, we are going to give them a dog. Will try to add some photos of the printed book, and the present etc in github.com/IuriiD/midjourneyKidsBook later

  • @pauleasther
    @pauleasther Рік тому

    Good luck selling any on Amazon along with the 33 million other titles you’re competing with? No one will ever find your book and I ought to know, I’ve published 8 kids books, never sold one!

    • @defaultfallback
      @defaultfallback Рік тому

      Looks like you have a quite interesting experience. I haven't tried to sell anything of this kind yet, this is more sort of a pet project for myself and to learn working with Midjourney. But I was suspecting that selling should be not that easy as it's promoted in multiple YT videos ;)

    • @Metaroids
      @Metaroids 7 місяців тому

      Yes there are 33 million other titles to compete with. No shit. But you fail to account for the fact that 99% of the suck. But with tools like Midjourney, you can actually get ahead in terms of quality and speed because it's so powerful and the images are so good (if you know prompt engineering well enough). The problem is that people using AI are only interested in the speed of production, not the elevated quality it brings. That's why you see people creating 1 children's book in a day like wtf are you making... It's still art, you just need to put in effort + take advantag of AI. Well, at least that's how I'm doing it. I can show you what I'm creating and you be the judge.

  • @grantpalmer5446
    @grantpalmer5446 Рік тому

    Hello I am able to see the backend running after I input a query however I keep getting an unauthenticated error after the response is generated on the backend, it won’t send the intent to dialogue flow. Do you have idea how to fix this?

    • @defaultfallback
      @defaultfallback Рік тому

      Hi, @grantpalmer5446. So, you are saying that based on the logs from the app, you see that: 1) the app starts successfully 2) the app gets incoming requests from the test Dialogflow chat, 3) the app is able to send requests to OpenAI & Pinecone and generate the answer, but 4) the app fails to return the response to the Dialogflow testing chat. Is that correct? This sounds a bit weird as incoming requests are reaching your backend (step 2 noted above) should mean that you set up the authentication to Google Dialogflow correctly (that is, one would expect both steps 2 and 3 to fail in case of authentication issues). Can you create a new service account key and try running the app with it?

    • @defaultfallback
      @defaultfallback Рік тому

      A few years ago I published a video which describes how to create the Google Cloud service account, set up the needed permissions and get the keys - ua-cam.com/video/z8njCLPj9nk/v-deo.html (maybe it will be useful)

  • @hadiefahmohamad8533
    @hadiefahmohamad8533 Рік тому

    Thanks... Love your sharing

  • @urusanbt977
    @urusanbt977 Рік тому

    Thanks for sharing your ideas.

  • @ahthisisgood
    @ahthisisgood Рік тому

    Thank you for the video. That's exactly what I was looking for.

  • @cinematheque20
    @cinematheque20 Рік тому

    This is great stuff. Thank you for such a detailed video highlighting all the 3 important aspects - embeddings, vectorDB and LLMs.

  • @yuriitiunov8803
    @yuriitiunov8803 Рік тому

    Good one, Iurii )

  • @OpenFilmmaker
    @OpenFilmmaker Рік тому

    Nice video... I'm struggling with consistent characters. Do you have any tips/tricks or can you make a video about it? Thank you.

    • @fredeata3944
      @fredeata3944 Рік тому

      you can try the --seed command

    • @joshkatz4448
      @joshkatz4448 Рік тому

      @@fredeata3944 --seed doesnt work like that

    • @defaultfallback
      @defaultfallback Рік тому

      @OpenFilmmaker In this project I tried 2 ways to generate consistent characters (namely I wanted to get some additional emotions for the characters I've chosen): - cut the character list into individual characters, upload all of them to MJ Discord, get the links to the images, and then "imagine" with all the links to the images pasted before the original prompt (slightly changed); - use the seed approach. However none of these approaches worked for me good enough - I got the needed emotion, but the style of the characters changed too, so I used the original character sheet. There are quite many good tutorials about generating "consistent characters in Midjourney" - please try to follow those

  • @robertfiedor7559
    @robertfiedor7559 Рік тому

    hi I'm curious if you plugged different models/ adjusted settings to get better answers and if you got your system to give you answers from the pdf

    • @defaultfallback
      @defaultfallback Рік тому

      Hi, Robert. Nope, so far I had time only to create this 1st working setup, which works but works not so good, mainly because of the language generation model. Embeddings generation and similarity search work, IMHO, fairly good. As for the language generation model - my overall feeling is that it might better suit for fine-tuning/re-training than for answering to the prompts like "respond to the question X based on the following context Y". If I have time, I will try to replace the 7B GPT4ALL with other models

  • @nattyzaddy6555
    @nattyzaddy6555 Рік тому

    Great video I'm going to try it out but I have a question, why did you use all-mpnet-base-v2 instead of something more recent from sentence-transformers like all-MiniLM-L6-v2

    • @defaultfallback
      @defaultfallback Рік тому

      I'm quite new to all this, and this is actually my 1st acquaintance with LangChain, GPT4ALL, FAISS. all-mpnet-base-v2 was used as it's a default embeddings model used by the transformers package as I understand. Now that I got this 1st working setup (which works not so good as I noted at the end), it can be optimized by choosing better components. Thanks a lot for pointing me to this all-MiniLM-L6-v2, need to give it a try.

    • @defaultfallback
      @defaultfallback Рік тому

      Some more tips for those who may be choosing between all-mpnet-base-v2 and all-MiniLM-L6-v2 - quote from www.sbert.net/docs/pretrained_models.html: "The all-mpnet-base-v2 model provides the best quality, while all-MiniLM-L6-v2 is 5 times faster and still offers good quality." The actual difference in terms of speed and performance can be seen in the table on the above mentioned page (as of June 2023, average performance for all-mpnet-base-v2 is 63.30 vs 58.80 for all-MiniLM-L6-v2, speed - 2800 vs 14200 correspondingly).

  • @nattyzaddy6555
    @nattyzaddy6555 Рік тому

    There is a new model called LIMA that might be good for this.

  • @HasanAYousef
    @HasanAYousef Рік тому

    Great thanks, how can I use it with my own data saved at txt file?

    • @defaultfallback
      @defaultfallback Рік тому

      Hi. In order to use text from a txt file instead of a pdf one needs to update the document loader part (in the colab it's section "2. Import the "contexts"). A txt file can be read in "plain" Python (something like www.w3schools.com/python/python_file_open.asp), or one can try using some different document loader from python.langchain.com/en/latest/modules/indexes/document_loaders.html (there are examples of code there).

    • @dianafridlyand8348
      @dianafridlyand8348 11 місяців тому

      @@defaultfallback I was searching for using FAISS for QA model on my own data and found your video. I am going to try using this model. However I had already split my PDF into pages and then used NLTK for splitting it into sentences. Should I keep going this way or just try to proceed from PDF directly?

    • @defaultfallback
      @defaultfallback 11 місяців тому

      Hi,@@dianafridlyand8348 . If you already split your data into sentences, you can generate embeddings for sentences instead of text chunks cut from the PDF (however sentences may be a bit too short / contain too little context for the model to generate a meaningful answer). If you would like to proceed with your sentences, in order to call the function FAISS.from_documents(docs, embeddings) you need an array of document objects. Please see js.langchain.com/docs/modules/chains/document/ . That is to wrap your sentences into these "Documents" you need to: 1) import { Document } from "langchain/document"; 2) write something like const docs = [ new Document({ pageContent: "Harrison went to Harvard." }), new Document({ pageContent: "Ankush went to Princeton." }), ]; Having prepared such an array of Documents, you can proceed with my colab in the section #4. Vectors storage preparation, generating and storing vectors

  • @AntonioPotapenko
    @AntonioPotapenko Рік тому

    Юра, сделай видео на русском:)

  • @mEuclide
    @mEuclide Рік тому

    Thank you for this very detailed and clear video

  • @ShoaibAnsari-pm6np
    @ShoaibAnsari-pm6np 2 роки тому

    it gives me an error. it asks me to use oauth2 authentication? any solution?