Skip to content
/ wahlgpt Public

LLM + RAG to generate answers about the manifestos of the parties for the 2024 Austrian legislative election

Notifications You must be signed in to change notification settings

nor0x/wahlgpt

Repository files navigation

WahlGPT

Deploy to GitHub Pages pages-build-deployment

LLM + RAG to generate answers about the manifestos of the parties for the 2024 Austrian legislative election.

as described in the blog post: https://johnnys.news/2024/09/How-I-built-wahlGPT

Dependencies

  • .NET SDK >= 8
  • wasm workload
  • Azure Functions Core Tools

How to run

# run the backend function
cd WahlGPT.Function
func start

# adapt settings (i.e. API_ENDPOINT from function) in WahlGPT.Common/Settings.cs
# for development the following extensions for KernelMemory can be used:
#.WithSimpleVectorDb()
#.WithSimpleFileStorage()
# with these you don't need a running qdrant instance - the vector db is stored in memory
# feel free to plug in other models for embedding or text generation to experiment with different results

#restore the wasm workloads
cd WahlGPT.Web
dotnet workload restore

# run the frontend
dotnet run

credits

  • html5up
  • semantic-kernel
  • semantic-memory
  • qdrant
  • dotnet
  • openai

About

LLM + RAG to generate answers about the manifestos of the parties for the 2024 Austrian legislative election

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published