Project's Logo

docker/genai-stack

The GenAI Stack is a project designed to help users build their own GenAI application quickly. It includes demo applications that can serve as inspiration or a starting point. The project requires configuration through a .env file, which includes variables for the Ollama LLM API URL, Neo4j database URL and credentials, LLM model tag, embedding model, and various API keys for different services. Users can use any LLM available via Ollama on MacOS and Linux, or use GPT-3.5 and GPT-4 on all platforms with their own OpenAI API keys.

To get started, users can create a .env file from the env.example template and configure the variables accordingly. The project includes applications such as a Support Bot, Stack Overflow Loader, PDF Reader, Standalone Bot API, and Standalone Bot UI. The Support Bot is a fullstack Python application that answers support questions based on recent entries, provides summarized answers with sources, and demonstrates the difference between RAG (Reasoning and Generation) disabled and enabled modes. The Stack Overflow Loader imports recent Stack Overflow data into a knowledge graph, embeds questions and answers, and stores them in a vector index. The PDF Reader reads local PDFs and asks questions about their contents using vector similarity search. The Standalone Bot API is a standalone HTTP API with streaming (SSE) and non-streaming endpoints that exposes the functionality to answer questions in the same way as the Support Bot. Lastly, the Static front-end is a separate application built using modern best practices (Vite, Svelte, Tailwind) that has the same features as the Support Bot but with instant auto-reload on changes. The project also includes a database that can be explored at http://localhost:7474.

Project Information

Contribution Opportunities

  • Issues are available for contributions.
  • Project boards are active.

License

Creative Commons Zero v1.0 Universal

Recent Contributors

oskarhane's avatar

oskarhane

80 Contributions

tomasonjo's avatar

tomasonjo

27 Contributions

jexp's avatar

jexp

19 Contributions

slimslenderslacks's avatar

slimslenderslacks

8 Contributions

matthieuml's avatar

matthieuml

6 Contributions

zach-blumenfeld's avatar

zach-blumenfeld

3 Contributions

zooninja's avatar

zooninja

2 Contributions

sidagarwal04's avatar

sidagarwal04

2 Contributions

rahul0x00's avatar

rahul0x00

2 Contributions

denverdino's avatar

denverdino

2 Contributions

chenblueridge's avatar

chenblueridge

1 Contributions

Desnoo's avatar

Desnoo

1 Contributions

ssime-git's avatar

ssime-git

1 Contributions

Sanyam-2026's avatar

Sanyam-2026

1 Contributions

TheCulliganMan's avatar

TheCulliganMan

1 Contributions

johnsonr's avatar

johnsonr

1 Contributions

robsdedude's avatar

robsdedude

1 Contributions

RafeAthar's avatar

RafeAthar

1 Contributions

Lapeyus's avatar

Lapeyus

1 Contributions

Illapavan's avatar

Illapavan

1 Contributions

eltociear's avatar

eltociear

1 Contributions

ilopezluna's avatar

ilopezluna

1 Contributions

Tachii's avatar

Tachii

1 Contributions

withtwoemms's avatar

withtwoemms

1 Contributions

shelar1423's avatar

shelar1423

1 Contributions

borisromanov's avatar

borisromanov

1 Contributions