Spaces:
Sleeping
Sleeping
```mermaid | |
flowchart TB | |
A["User enters query in Streamlit UI"] --> B{Is it a Greeting?} | |
B -- Yes --> C["Display \"Hello there!\""] | |
B -- No --> D{Check with Obnoxious_Agent} | |
D -- Yes --> E["Display \"Question is inappropriate\""] | |
D -- No --> F["Query_Agent retrieves docs from Pinecone"] | |
F --> G["Answering_Agent uses GPT to generate answer"] | |
G --> H{"Relevant_Documents_Agent checks doc relevance"} | |
H -- Yes --> I["Final response displayed to user"] | |
H -- No --> M["Final response with Unrelated tips displayed to user"] | |
``` | |
#### |