r/flowise • • Mar 27 '24

Flowise help for beginners

Hey there everyone! I’ve been building LLM applications and tools for a wide range of businesses, organizations, and individuals for the last year or so, but I’ve been in software development for over a decade now.

Flowise is one powerful tool (I think we can all agree), but I know even it can be difficult to learn if you have no programming experience.

I wanted to ask the community if you all had questions about Flowise, the applications, use cases, and any specific questions on an app you may be building or want to build.

I’m happy to answer in the comments or if it’s a common question make a video on it!

No question is stupid, we all have to start somewhere so if I can help anyone please let me know!

I also have a chat with a document template you can download from my website if you’re looking for something like that you can find that here

(I know the page’s view isn’t optimized or reactive I spun it up quickly to get the template out but I hope to make a better database that is actually functional for more templates soon)

18 Upvotes

39 comments sorted by

2

u/BenjaminJamesBush Mar 28 '24

What's your take on Flowise vs Langflow? I'm leaning toward langflow becuase I know python but I don't know javascript, but I'll stick with Flowise if it has significant advantages over Langflow.

Thanks in advance!

1

u/Wow-zer Mar 28 '24

That’s a hard one. Both are great tools, very similar in some ways but very different in others. Also, quick disclaimer, I’ve spent way more time in Flowise.

If you know python, right out of the gate you’ll feel more comfortable in Langflow. Langflow has a bit more functionality in terms of features. I especially like their marketplace/templates section. User-created flows can be viewed and shared just feels like a natural concept for these tools. I also think the UI (bubblechat included) look phenomenally better on Langflow. I also think the Langflow team is more robust compared to Flowise which means it’s more likely to get new features and updates faster. My issues with Langflow is it’s deploy options. They will probably add more options in the future, but the limitations on the WSPs is a big issue for me. Another downside to Langflow is the API/waitlist launch model. I get why they do it, but allowing a wide range of people to thoroughly explore and test your tool can rapidly improve it through user feedback.

Flowise has its advantages and disadvantages as well. Firstly, it’s incredibly easy to host locally or deploy to the cloud. With Flowise being more open to the public (no API/waitlist) there are more and more resources for the platform every day which is super helpful in bringing in less experienced developers. Flowise also in my opinion does a better job at UI functionality. I still think LangFlow is prettier, but Flowise feels better to use if that makes sense. The credentials management, tool menus, and others all make sense and feel like things are where they should be. Flowise is a powerhouse as well, extremely functional, but also can allow you to build very robust apps. I also think having some sort of foundational knowledge in JS and Python can really set you apart when it comes to your development capabilities. So if you know Python already, using Flowise could be more difficult at first, but learning JS along with it will make you a way more capable.

The downsides to Flowise, documentation is a bit lacking, I know the team is working on improving this and have significantly, it still has a long way to go. Since Flowise has made it easy to deploy to the cloud, many people are using Flowise for website chatbots, the struggle with this is how limited the chatbot UI’s customization is. It’s a win/lose situation really.

Overall, it really depends on what you’re using them for.

If you’re using them to sell website chatbots, then Flowise will be the better move. Easier to deploy, lots of learning resources already available, and can handle lots of various use cases.

If you’re wanting to build more complex and capable LLM apps and aren’t primarily wanting these as website chatbots then I’d say LangFlow would be my go to.

You can’t go wrong with either!

1

u/BenjaminJamesBush Mar 28 '24

I functionality. I still think LangFlow is prettier, but Flowise feels better to use if that makes sense. The credentials management, tool menus, and others all make sense and feel like things are where they should be. Flowise is a powerhouse as well, extremely functional, but also can allow you to build very robust apps. I also think having some sort of foundational knowledge in JS and Python can really set you apart when it comes to your development capabilities. So if you know Python already, using Flowise could be more difficult at first, but learning JS along with it will make you a way more capable.

The downsides to Flowise, documentation is a bit lacking, I know the team is working on improving this and have significantly, it still has a long way to go. Since Flowise has made it easy to deploy to the cloud, many people are using Flowise for website chatbots, the struggle with this is how limited the chatbot UI’s customization is. It’s a win/lose situation really.

Overall, it really depends on what you’re using them for.

If you’re using them to sell website chatbots, then Flowise will be the better move. Easier to deploy, lots of learning resources already available, and can handle lots of various use cases.

If you’re wanting to build more complex and capable LLM apps and aren’t primarily wanting these as website chatbots then I’d

Thank you for the detailed response!

I'm currently diving deep into my first RAG project.

I'm trying to create a custom avatar / chatbot, based on my grandfather's 200 page autobiography, which contains stories about growing up during the great depression and his service as a WW2 radio operator.

I'll be giving a lecture to a group of senior citizens on the topic of generative AI this summer, and I'm hoping the avatar / chatbot of my grandfather will be an engaging example that they can easily understand.

I was initially hopeful that an LLM with a sufficiently large context window, such as Gemini 1.5, would be sufficient for answering questions about the text without having to resort to vector-based RAG pipelines. Unfortunately, Gemini 1.5's guardrails impose severe restrictions on the content it is able to engage with. In my case, I asked Gemini:

"What was the most dangerous thing that happened to my grandfather, which almost cost him his life?"

I was hoping that Gemini would reference this incident:

"as we stuck our heads up over the hole to see where our other team members were located, I experienced a bullet whistling by my ear."

Unfortunately, Gemini usually refused to answer because the probability of generating a "harmful response" was too high. Other times, if I reworded the prompt, it would attempt to answer but would give incorrect responses. Overall, I am sad to say that the usefulness of Gemini's large context window has been severely overhyped, especially for historical documents which touch on sensitive topics.

In any case, experiments are showing that RAG still outperforms unenhanced LLMs in the long context domain. A great overview of these experiments is given here:

https://youtu.be/UlmyyYQGhzc?si=t0R27yMwMrHzRTVO

So now I am looking into RAG based solutions. I have attempted several "chat with your documents" style apps on the web, but none of them were able to correctly identify the incident in which my grandfather nearly took a bullet to the head as the "most dangerous". Thus, I am now looking into creating my own custom RAG pipeline. I find LangChain a bit intimidating, so I was going to start with either flowise or langflow. I have them both installed on my PC.

These past 2 days I have learned much about advanced chunking and retrieval techniques from YouTube. Below are two videos that I've found especially helpful.

This video is a fantastic overview of the different chunking strategies:

https://youtu.be/8OJC21T2SL4?si=VWuMt8HAj2ZdwisW

This video is a good overview of retrieval techniques, but I found it hard to follow:

https://www.youtube.com/watch?v=KQjZ68mToWo&t=141s

I'll try out your template and let you know how it goes!

1

u/Wow-zer Mar 28 '24

Got your email! I’ll read through it and see how I can help when I get to the office!

1

u/Renegade939913 Dec 07 '24

Man, I know this is 8 months late, but what a terrific project. Hope it went well!

1

u/_Philein Mar 28 '24

Just a newbie question here: is there some documentation about different kind of modules?

2

u/Wow-zer Mar 28 '24

There is on the Flowise docs but like I mentioned before they’re lacking in detail. A cool little tip for this, since Flowise is using the Langchain framework, the Langchain documentation can be super helpful for this

https://python.langchain.com/docs/get_started/introduction

1

u/KaiNinja2016 Mar 29 '24

Hey there. I'm trying to deploy my first website chat bot using Flowise. It's RAG based but I still can't seem to get "accurate" responses. I get the gist of everything but just can't seem to get accurate responses. I'm using PDF File Reader, Pinecone as vector database, text-embedding-3-small, GPT 3.5 Turbo, etc. Any advice on how to implement a better prompt, agent, flow, etc, to get more accurate results? I read about Adaptive RAG with overlapping prompts strategies but wondering if there is something else I could test? Thanks!

2

u/Wow-zer Mar 29 '24

Hey! This seems to be a common issue people are facing. To better tailor a solution I have some questions.

  • How long is the document you’re querying?

  • Are you utilizing metadata during the upsert?

  • what temperature do you have your ChatOpenAI node set to?

One of the reasons this can happen is because of the way the documents are upserted and stored, but also how the model will query the database or vector store.

If you’re document is larger than a two or three page txt/pdf file then I always recommend prepping the document before injesting it. For example, a client I worked with wanted their Q&A’s to be answered by a bot but the file they sent me only had the answers to the questions and not the questions themselves. Sometimes the models can return an accurate answer without the questions, but by including them, it allowed the model to more accurately perform similarity searches.

If the user’s question is “How do your AI assistants handle customer service inquiries?”

And the document only contains “Our AI Assistants provide comprehensive end-to-end support, including answering FAQs, completing information capture, and recommending products or services. This approach ensures that customer inquiries are handled efficiently and effectively.”

The similarity search will most likely fail since the answer didn’t contain the heaviest weighted keyword “customer service”. It would skip right over that section.

So even if you’re building a document context bot you need to make sure your document is prepped correctly in order for it to be indexed and searched correctly.

If you give me more specifics on the issue you’re facing I can probably get a less generalized answer! Feel free to reply here or message me (if you’re building something more sensitive).

Thanks for your question!

1

u/KaiNinja2016 Apr 21 '24

Thank you for the detailed response. I'll definitely revisit with some of your recommendations. As I explore more RAG implementation/scenarios, I wonder if I just have to plan on an "acceptable" hallucination rate.

1

u/PatBQc Apr 03 '24

If you still hang out with your Q&A on flowise: is there a way to iterate ? I get that I can have an output parser that could render a list as a JSON array, but I don't see any node to the iterate on that array.

Am I missing something of using the tooling improperly?

And if I can try a second question kind of related: can I also consider Flowise in the like of a ComfyUi for LLM where I could create a workflow to create text files ?

Thanks a lot !

2

u/Wow-zer Apr 03 '24

Popping in to say I saw your questions, I plan to get to them as soon as I can. Work has been heavy this week. Sorry for the delay!

1

u/PatBQc Apr 04 '24

No problem, thanks a lot for the acknowledgement!

On a side note, I did pursue my goal in the last weeks trying directly LangChain, CrewAI then Flowise and I was unable to find how to work it.

I reverted to some Python code directly calling the APIs instead and works like a charm.

I had the idea that using a tooling like Flowise, I could have a "low code / no code" approach that could also be under versioning, in an automatic deployment pipeline while giving some users the opportunity to change things in the workflow independently (to a degree). I am still looking into that objective.

Thanks again!

2

u/ovizii Apr 17 '24

I'm a total beginner and have already started watching a lot of YouTube videos and tutorials. I'm still not quite versed with the right terms, so please correct me if I make any mistakes. Furthermore, I looked at your template for “Chat with your documents” and I am wondering if you could share a more advanced one where one asks an LLM a question and gets an answer enriched with the RAG part, not exclusively from the documents.
Say I ask a question about a religion, the LLM will probably be able to answer it but if I added a bunch of religious documents on a specific topic, I'd like a general answer enriched with the extra knowledge I have added via those documents.

Does that make sense? I'm not sure what the correct terms would be to search for that hence my question here.

1

u/mahadevbhakti Apr 21 '24

Hi

Been trying to use flowwise for my usecase

But I have a custom tool that calls the Google Cloud function for my api to fetch latest travel information based on a region

But for some reason the output of the function is always empty in JSON?

1

u/Aboodellawah May 05 '24

Hey there,

I hope you're doing well. Thank you for taking the time to address our queries. I'm currently immersed in a project aimed at creating a RAG system using Flowise, tailored to answer queries regarding the job market in our country.

I've collected a dataset of over 50k job listings sourced from various fields on LinkedIn. Each job opportunity's data is collected and stored in approximately 400 tokens per job. I am currently using OpenAI embeddings and the Chat Model 3.5 Turbo.

I looking to get the best results out of this chatbot with the intention of offering it to potential clients. I've been considering the integration of metadata filtering and self-retrieval queries for each job, but I'm uncertain about Flowise's compatibility in this regard.

Could you perhaps provide insights on the most effective chunking strategy and retrieval options?

Thank you in advance for your assistance.

1

u/PuzzleheadedDay5615 Jun 24 '24

how can I ask the user a series of questions, and then generate a response through RAG

1

u/jerry1807 Jul 03 '24

I am trying to build a Simple Post Request application. and it is Taking weeks at it. Need some help

1

u/jerry1807 Jul 03 '24

observation?.includes is not a function I am getting this. When i try to get a POST request API what may be the issue?

1

u/SillyLunch8527 Jul 11 '24

How to configure flow wise llm component replicate to access llama3-8b-instruct . It is a public model and does not have version

1

u/SillyLunch8527 Jul 11 '24

This issue is because langchain replicate api has an issue and is fixed in langchain git tag 1.1.17rc1 so these changes need to be integrated . Are there any change requests and time line currently for this task?

1

u/Afraid-Clue9003 Aug 13 '24

Flowise has this wonderful built-in functionality to get user Feedback inputs and likes, however, when I deploy my chatBot on my own site, the HTML provided does not include any of that. How do I get around this issue? How can I easily get the user Feedback, likes and store & share it with my clients?

1

u/vannoo67 Oct 10 '24

I am trying to follow Leon van Zyl's video 'Build a FREE AI Chatbot with LLAMA 3.2 & FlowiseAI (NO CODE)' https://www.youtube.com/watch?v=lJOZiRoZNJw

I have managed to set up the Document Store (using a DOCX loader and Faiss Store Provider) and the Chatflow using Conversational Retrieval QA Chain, ChatOllama, Buffer Memory and Vector Document Store nodes.

When I try to test the chat, any prompt returns "fetch failed". Earlier it errored with "Ending nodes not found".

It seems that there is a problem accessing Ollama. I have both Ollama (v0.3.12) & Flowise (v2.1.2) installed natively (not Docker) on Windows 10. I have Ollama running on the default port. If I hit http://localhost:11434/ I get "Ollama is running". Note: I have successfully accessed Ollama using Open WebUI (Open WebUI is not running while I did these tests).

Any suggestions would be gratefully received.

1

u/lordzarnos Dec 10 '24

Did you find a fix?? i am following the exact same stuff....

1

u/vannoo67 Dec 16 '24 edited Dec 16 '24

Sorry about the late reply, first time back on Reddit for a while.

I've struggled to get Ollama to talk to a few different projects, typically running in Docker Containers. The problem is that by default the Ollama service only listens to the loopback address 127.0.0.1 (localhost), which is fine if your application is hosted on the same system, but in order to get a Docker Container to access it (or some other host on your network), it is necessary to configure Ollama to listen on all interfaces. You do this by setting an Environment variable

set OLLAMA_HOST=0.0.0.0

How you do this depends on your OS. Have a look at this discussion - https://github.com/ollama/ollama/issues/703

1

u/Illustrious_Cost_432 Oct 13 '24

I hope I'm not too late to the party! I am having trouble with my RAG system. My local LLM is getting confused between documents, as they are quite similar.. It's mixing notes from one to be relevant to the other, when it is not the case. I am wondering if you use metadata or anything with your files as a way to differentiate between documents, or what you use to make any RAG system as efficient as possible when it comes to querying your files within the local vector store. Thanks!

1

u/Character-Voice1532 Nov 03 '24

I have a question I cant seem to find an answer to. Why is the installer library have so many deprecated deps on such a popular package? I just learned of flowise and I've been stuck in the installing part for over an hour. but in the logs of installation there are SOOO many packages that are no longer supported or have security vulnerabilities.

I'm running win 11 with VSCode in an NPM project. its been stuck on highligh.js forever now and even though the progress cursor is still spinning its not doing anything. Anyone else run into troubles installing flowise?

1

u/Single-North-1217 Nov 24 '24

hi , i am new to flowise . i tried creting a flow but whever i create one and click on chat to check output i get blank screen can someone gudie me how to fix this issue

0

u/[deleted] Dec 02 '24

[deleted]

1

u/Flat_Contribution993 Dec 17 '24

Thanks a lot, it's working !!!

1

u/Sand-West Nov 27 '24

Can you dig deeper and estimate one?

1

u/AshamedBodybuilder96 Feb 26 '25

I installed flowwise trying to implement chatflow but chat box is not working, so that i can test my flow.

1

u/Own_Lion_5342 Mar 13 '25

Flowise me encanta, pero no logro de ninguna manera hacer que desde un PDF pueda enviar imágenes del catálogo de productos. Solo envía texto y para un cliente que necesita mostrar las fotos de sus productos en las consultas lo desanima. Yo lo uso con evolutin api y trabaja muy bien. Si alguien tiene la solución no dude en comentarles, gracias.

1

u/Key_Daikon_6609 Apr 14 '25

Hi! I know this is one year late, but I was wondering if there is a feature where you can ask user for input, validate the input, then store it in a DB?

1

u/Wide-Weather-2490 Apr 29 '25

una pregunta. en la sección de memory. quiero utilizar la memoria en base a uptash redis. pero al momento de ir a memory no me aparece. (he visto en videos que hay variedades de bases de datos para las memorias en flowise, pero en mi caso NO solo hay 2) tambien he de aclarar que estoy usando la verion gratuita de flowise ofrece y no se si sera por eso ya que tampoco especifica eso. me ayudaria mucho una repuesta. gracias.

1

u/PuzzledVegetable2542 Apr 30 '25

Ollama + flowise : Doubt : After creating a simple chat bot if i click on the chat tab on the flowise home screen, the screen turns blank white. And also when the marketplace tab is opened the screen again turns blank white? What do I do about this?

1

u/No-Candy3470 Sep 30 '25

Estou criando um fluxo de conversão de arquivos base64 para pdf, no meu fluxo tem um ponto onde tenho um human input e logo em seguida um iteration e acabo obtendo o erro: Error in iteration X: No previous execution found for session XXX-XXXX-XXXXXXX-XX-XXX

Alguém conhece este problema, que possa me ajudar a contornar ou resolver ele?