InfoSecInnovations / concierge

Repo for Concierge AI dev work
Apache License 2.0
185 stars 31 forks source link

Web interface? #25

Closed Gitoffomalawn closed 4 months ago

Gitoffomalawn commented 7 months ago

Is this supposed to have a web interface?

The documentation seems to suggest it does (refers to pressing a button), and the demo of this I recently saw also featured a web interface. However, having gone through the steps detailed for installation, I can only communicate with the project through command line. There seems to be no option to upload any files, or make it ingest any information other than what it already contains.

Am I missing something here?

besimorhino commented 7 months ago

That's an unfortunate glitch in the install. I think you're at the ollama prompt. when you're at the >>> just type /bye

Does this help?

Gitoffomalawn commented 7 months ago

Typing /bye does quit the Ollama interface, but dumps me back in the Linux shell. So, still no web interface.

wretiii commented 7 months ago

Try starting the web interface with streamlit run Concierge.py

Gitoffomalawn commented 6 months ago

Try starting the web interface with streamlit run Concierge.py

Ok, that worked.

However, I think there's still something wrong. Having Concierge running, I can now ingest files into the model. When I do so and then ask it a question, I only get this error, no matter how much data was ingested: "No sources were found matching your query. Please refine your request to closer match the data in the database or ingest more data."

I created a test dataset using the NIST CSF framework, but I just can;t get Concierge to out put anything other than that message. I'm following the steps on the Concierge main page to the letter.

To clarify, these are the steps I'm following:

  1. Make a collection called NIST in Collection Management.
  2. Load the NIST CSF from the PDF using the Loader (see image 1 below).
  3. Verify data has bee loaded in Collection Management (see image 2 below).
  4. Ask Concierge what should be a simple question in Prompter, get "no sources" message (see image 3 below).

Image 1 Screenshot_2024-05-08_22-30-49

Image 2 Screenshot_2024-05-08_22-29-19

Image 3 Screenshot_2024-05-08_22-31-45

Gitoffomalawn commented 6 months ago

Anyone have any ideas as to why this isn't working?

sebovzeoueb commented 4 months ago

0.3.0 uses a different set of dependencies, please remove your currently installed elements and try following the new instructions. If you're still running into difficulties please open a new issue.