GithubHelp home page GithubHelp logo

events-skane's Introduction

VadHänder?

Set up project

Start project:

docker-compose up

Stop project:

docker-compose down

Running Ollama 🦙

When using docker it can be a bit tricky the first time since it need to pull the model for the first time. The process might get stuck in a loop giving you error message: ollama exit code 0.

The solution to the issue was to simply restart and remove the container & volume. Otherwise it pretty awesome! (If you are a MAC fag stop complaining, I am using Windows aka hard-mode and I get it to run)

Test connection

Run in terminal:

Fast API server:

curl --location 'http://localhost:80/weather/?country=Sweden'

Ollama server:

curl --location "http://127.0.0.1:11434/api/generate" --header "Content-Type: application/json" --data-raw "{\"model\": \"qwen2:0.5b\", \"prompt\": \"Why is the sky blue?\", \"stream\": true}"

events-skane's People

Contributors

antonidag avatar victorwinberg avatar

Stargazers

 avatar

Watchers

 avatar  avatar

events-skane's Issues

POC

  • Web-scrape a website, e.g. https://evenemang.malmo.se/
  • Clean and reduce noise from HTML
  • Transform it with a LLM model to a JSON list
  • API that expose the JSON data
  • Simple frontend that shows the data using the API

Tech setup

  • Set up FastAPI
  • Set up PostgreSQL
  • Set up LLM model
  • Set up Frontend App

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.