Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/technologiestiftung/ber-gpt-frontend
https://github.com/technologiestiftung/ber-gpt-frontend
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/technologiestiftung/ber-gpt-frontend
- Owner: technologiestiftung
- License: mit
- Created: 2024-07-22T12:31:58.000Z (5 months ago)
- Default Branch: staging
- Last Pushed: 2024-11-18T20:02:32.000Z (about 1 month ago)
- Last Synced: 2024-11-18T21:19:21.147Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://baergpt.citylab-berlin.org
- Size: 515 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
![](https://img.shields.io/badge/Built%20with%20%E2%9D%A4%EF%B8%8F-at%20Technologiestiftung%20Berlin-blue)
[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)
# _BärGPT - AI chat assistant_
BärGPT is a productive AI testing environment available for employees of the Berlin state administration, provided by CityLAB Berlin. BärGPT is designed to help test the practical applications of artificial intelligence for administrative work. In addition to a chat function, BärGPT includes a number of initial smaller applications (AI apps) for specific tasks in the administrative context. The list of applications will be continuously expanded in dialogue with employees of the Berlin administration. To support this, we will offer regular workshops in the future and welcome ideas and feedback.
## Why did we develop BärGPT?
In the spring of 2024, the Berlin Senate Chancellery convened an "AI Taskforce" and organized a series of workshops at CityLAB Berlin to discuss the potential applications of artificial intelligence in administrative work. During these discussions, it became clear that there was a need to provide employees with a low-threshold testing environment, allowing them to experiment with initial ideas in a protected setting. In response, CityLAB offered to establish such a platform.
## What should I keep in mind regarding data protection and data security?
BärGPT offers users a selection of different large language models, which vary in terms of data protection.
- The model `azure-gpt-4o-mini` is operated by Microsoft in a data center in Sweden, and thus falls under GDPR regulations. Input data is neither stored nor used for training purposes. This model offers a higher level of data protection compared to similar offerings from the U.S.
- The model `openai-gpt-4o-mini` provides the same functionality but is operated by OpenAI in the United States. This model should only be used for comparison purposes, as it offers no advantages over the Microsoft model.
- The model `citylab-macstudio-llama-3.1` is hosted by CityLAB Berlin in compliance with data protection regulations. It is an open-source model, which in many cases can match the quality of commercial models.
It is important to note that none of the available AI models are operated within the Berlin state network. Therefore, personal or otherwise sensitive data, as well as data intended exclusively for use within the Berlin state network, must not be entered.## Can BärGPT also be used for other use cases?
BärGPT is a flexible AI infrastructure and can, in principle, be adapted and further developed for various use cases and contexts. Do you have an idea for a specific use case where BärGPT could be helpful? If so, we would be happy to hear from you.
n line with the principle of "Public Money - Public Code," CityLAB Berlin releases all prototypes, including BärGPT, under an Open Source license. This means that BärGPT can and should be used and further developed without restrictions or prior permission. However, we would appreciate feedback if BärGPT is being used and are happy to assist with the initial steps.
## Prerequisites
- Node.js / npm (https://nodejs.org/en)
- For deployment: Vercel.com account (https://vercel.com/) or any other service of your choice## Development setup
Prepare required env variables:
- Setup `.env` file by copying `.env.sample`
- Set `VITE_X_API_KEY` to the API key of the [BärGPT API](https://github.com/technologiestiftung/ber-gpt-backend)
- Set `VITE_API_URL` to the API endpoint of the [BärGPT API](https://github.com/technologiestiftung/ber-gpt-backend)Prepare optional env variables to enable [Matomo](https://matomo.org/) tracking:
- `NEXT_PUBLIC_MATOMO_URL=...`
- `NEXT_PUBLIC_MATOMO_SITE_ID=..`Install dependencies:
- `npm ci`
Run development server:
- `npm run dev`
Open [http://localhost:5173](http://localhost:5173) with your browser to see the application running.
## Deploy
You can deploy and run the BärGPT on the platform of your choice.
We use Vercel.com, you can follow their step-by-step guides to deploy your version of BärGPT.## Tests
```bash
npm t
```## Contributing
Before you create a pull request, write an issue so we can discuss your changes.
## Contributors
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Raphael.A
📖
aeschi
📖
Jonas Jaszkowic
📖
Ingo Hinterding
📖
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
## Credits
Made by
A project by
Supported by
## Related Projects
- https://github.com/technologiestiftung/ber-gpt-backend