Build a Python Web App to chat with your datasets using GenAI

2023 ж. 1 Қар.
16 951 Рет қаралды

🤖 In this exciting episode, Andrianasolo Fanilo takes you on a journey into the world of artificial intelligence and data exploration. #TechAtWorldline #PythonWebApp #GenAI #DataChatbot #DataExploration #AIInData
📊 Get ready to learn how to create a Python web application that will allow you to have interactive conversations with your datasets using using Streamlit & PandasAI.
🧪 Checkout the source code here :
github.com/worldline/streamli...
👩‍💻 Whether you're a data scientist, developer, or just curious about the intersection of AI and data, this tutorial is for you. Join us on this exciting journey and unlock the full potential of your data.
👍 If you find this video helpful, don't forget to give it a thumbs up and share it with your fellow tech enthusiasts. Have any questions or feedback? Leave a comment below; we'd love to hear from you.
🔗 Stay tuned for more exciting tech content by subscribing to Tech at Worldline, and don't forget to hit the notification bell so you never miss an update!
👇 Get more content from Fanilo on his channel
@Fanilo Andrianasolo
Follow us:
🌍 blog.worldline.tech/
/ worldlinetech

Пікірлер
  • Can't believe you have only 525 subscribers! The content is really good.

    @nikhil182@nikhil1827 күн бұрын
  • Thanks for video. Tomorrow will try.

    @natawebmaster@natawebmaster2 ай бұрын
  • Very cool!! Any updates or new discoveries of chat with data methodologies??

    @WhySoBroke@WhySoBroke2 ай бұрын
  • Love the video ❤. Could you please do it using langchain once

    @yrahaman7199@yrahaman7199Ай бұрын
  • Awesome! 👍

    @mikew2883@mikew28835 ай бұрын
    • Thanks for the feedback :)

      @andfanilo@andfanilo5 ай бұрын
  • I really like this project will work on this coming weekend.

    @akshitsinghal8590@akshitsinghal85902 ай бұрын
    • Awesome, good luck 🙂

      @andfanilo@andfanilo2 ай бұрын
  • I have questions, can it run follow up question ? Or it only work once and done ? Ex i want you show data 2023, follow up question show only Adams data ?

    @GeriFitrah@GeriFitrah2 ай бұрын
  • Amazing, I'm a huge fan of your channel, and learned a lot thanks to you! However I got an issue, for some reason, the temp file of the graph is correctly generated (and stored in ./exports/charts/) however, it doesn't show up in Streamlit. Instead, it's displayed as a doc icon with a 0. Any idea what I might have done wrong?

    @stephenpire3803@stephenpire38035 ай бұрын
    • Hey there! That's strange, I just cloned the project and I have the same problem. I ended up reloading the image with Pillow and passing this to st.image instead of passing the file path to st.image so: ``` from PIL import Image class StreamlitResponse(ResponseParser): def format_plot(self, result): img = Image.open(result["value"]) st.image(img) return ``` Pushing the changes to the repo :) (and also pinning pandasi as apparently callbacks have disappeared since the release of the video), thanks for sharing!

      @andfanilo@andfanilo5 ай бұрын
  • Images not loading in pickle format can you explain this video brief

    @vinaya68vinno1@vinaya68vinno1Ай бұрын
  • thnk you, summary of what i needed.

    @nunomaltez804@nunomaltez8046 ай бұрын
    • Glad to hear it was useful 🙂

      @andfanilo@andfanilo6 ай бұрын
  • might be a dumb questions, but since i use my API key. will there be any costs in using this method?

    @mattiaselisson55@mattiaselisson553 ай бұрын
    • No

      @Jeevan_prakash@Jeevan_prakash3 ай бұрын
    • Yes. But if your account is new, or you haven't used the API key before, you will spend your free credits first

      @sebacisterna@sebacisterna2 ай бұрын
  • Could u show, if the data is inside Postgres database ? Please

    @KALYAN1898@KALYAN18983 ай бұрын
    • Hello! I can't write a link in comments, but if you browse through the PandasAI documentation, at the "SQL connectors" page you'll find an example using a Postgres connector

      @andfanilo@andfanilo2 ай бұрын
  • if i have my own csv data how do i convert to pkl

    @HighTechGeeks@HighTechGeeks2 ай бұрын
    • Hello! You can read your CSV into a Pandas file with pd.read_csv then convert to pickle with df.to_pickle Though these days I prefer recommending .to_parquet as a binary format

      @andfanilo@andfanilo2 ай бұрын
  • It looks like I have to be a paid user for OpenAI, right? If so, any free alternatives that could be used with streamlit and pandas? Thank you in advance

    @PauloRoberto-vj4jb@PauloRoberto-vj4jb2 ай бұрын
    • we can make use of gemini from Google

      @majidmohd100@majidmohd1002 ай бұрын
  • ERROR: Could not find a version that satisfies the requirement pandasai==1.4.10 (from -r requirements.txt (line 2)) (from versions: none) ERROR: No matching distribution found for pandasai==1.4.10 (from -r requirements.txt (line 2)) hi i am facing this issue can you please resolve this issue for me ?

    @osamayaqoob411@osamayaqoob411Ай бұрын
  • ModuleNotFoundError: No module named 'pandasai.callbacks' How to resolve this issue

    @gopikrishna8850@gopikrishna88503 ай бұрын
    • Hello, Apparently pandasai removed the pandasai.callbacks module in its more recent releases, so I have pinned pandasai to use version 1.4.10, can you try downgrading?

      @andfanilo@andfanilo3 ай бұрын
    • yes! with pip install pandasai==1.4.10 you'll fix the problem automatically

      @Sim35may@Sim35mayАй бұрын
KZhead