docker / genai-stack

Langchain + Docker + Neo4j + Ollama
Creative Commons Zero v1.0 Universal
3.39k stars 703 forks source link

App 1 - Support Agent Bot not working #143

Open hsiehgeoVA opened 3 months ago

hsiehgeoVA commented 3 months ago

Installed genai-stack in Ubuntu 22.04. The App3 - Q/A with a local PDF worked great with one test case. The App2 - Loader worked and the neo4j graph was generated. However, the App 1 did not appear to work. Only the Select RAG mode section was displayed and the buttons seemed to work. However, no other info was displayed. So could not (or did not know how to) do the Q&A part.

sarmbruster commented 1 month ago

This seems to be a CSS glitch. If you use the settings menu (3 dots right top corner) , light for Choose app theme, colors and fonts you can see the input box. However it's tiny in height, see

image

I don't know how streamlit works with CSS, but if you use web developer tools you can change the CSS of the input box to use

.st-dc {
    height: 200px;
} 

instead of

.st-dc {
    height: auto;
} 
hsiehgeoVA commented 1 month ago

Thank you Stefan for the suggestion. How did you get the display as shown in your image.png file? I could only see the small bottom section for "Select RAG mode", and the rest of the page was just blank. I certainly did not have a good understanding of the sequence of actions needed to have the multiple apps/containers work together. I would greatly appreciate for more detailed instructions on how to operate the apps in order to get the desired results.

sarmbruster commented 1 month ago

If you're in dark mode you first need to switch to light mode (see my comment above). Then you can see the differenct between the tiny grey area and the white background.

hsiehgeoVA commented 1 month ago

Thank you. I was in light mode. I got the tiny grey area above the Select RAG mode section as a kind of separator in the initial screen after the App 1 was launched. However, as I tried to go through the rest of the App 1 demo, the display did not change to show different content such as ticket generation. So, I thought that I might not have done it correctly procedure-wise.

App1

hsiehgeoVA commented 1 month ago

I've been able to run the Support Bot demo using App 5 - Static Front End without having to change any code. The App 1 with Streamlit UI still did not work for me.