progwise / george-ai

Autopilot for the Intranet
1 stars 1 forks source link

Setup the apps for George AI #174

Open moncapitaine opened 5 days ago

moncapitaine commented 5 days ago

Publishing company will upload and maintain PDF documents Publishing company will develop UI's based on our example UIs like the chatbot and the summary generator

Implementation ideas:

PascalHelbig commented 4 days ago

Here is my idea:

flowchart TD
  subgraph pocketbaseGroup[Pocketbase]
    pocketbase[Pocketbase πŸ“¦]
    pocketbaseDb[(Pocketbase Database πŸ—„οΈ)]
    pocketbase --> pocketbaseDb
  end

  pocketbase -- PDF uploaded/updated/deleted--> graphql
  pdfProcessor -- PDF parsed & processed--> pocketbase

  subgraph backend[Backend]
    subgraph llmService[LLM Service πŸ› οΈ]
      graphql[GraphQL Endpoint 🌐]
      pdfProcessor[PDF Processor πŸ“„]
      chains[Chains πŸ”—]

      graphql --> pdfProcessor
      graphql --> chains
    end

    llmDb[(LLM Database πŸ—ƒοΈ)]
    pdfProcessor -- write docs with embeddings --> llmDb
    chains -- use db as retriever --> llmDb
  end

  subgraph frontend[Frontend πŸ’»]
    chatbot[Chatbot πŸ€–]
    travelPlanner[Travel Planner πŸ—ΊοΈ]
  end

  chatbot --> graphql
  travelPlanner --> graphql

Components

Decisions for Simplification

Open Questions