https://github.com/tapiocaaberta/eleicoes-chatbot
This is a chatbot using Langchain4j and Quarkus.
https://github.com/tapiocaaberta/eleicoes-chatbot
java jbang langchain4j quarkus
Last synced: 5 months ago
JSON representation
This is a chatbot using Langchain4j and Quarkus.
- Host: GitHub
- URL: https://github.com/tapiocaaberta/eleicoes-chatbot
- Owner: TapiocaAberta
- License: apache-2.0
- Created: 2024-08-12T22:39:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T18:34:24.000Z (almost 2 years ago)
- Last Synced: 2025-04-12T05:45:43.821Z (over 1 year ago)
- Topics: java, jbang, langchain4j, quarkus
- Language: Java
- Homepage:
- Size: 1.17 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eleicoes-chatbot
Este é um chatbot feito em [Quarkus](https://quarkus.io/), usando [Langchain4J](https://docs.langchain4j.dev/), [Ollama](https://ollama.com/) com [llama 3.1](https://ollama.com/library/llama3.1). Usamos [RAG](https://arxiv.org/abs/2005.11401) (Retrieval Augmented Generation) como técnica.
OS dados foram todos retirados do site do [TSE](https://dadosabertos.tse.jus.br/dataset/candidatos-2024), tratados com o [ETL](/etl/) e armazenados na pasta [/data](/data/) deste repositório.
Para executar o projeto, é necessário ter os dados do ETL, Olla com Llama 3.1 e um ambiente Java para executar o projeto Quarkus.
Acessando localhost:8080 você verá um chat bot, onde poderá fazer as perguntas que quiser.


## Contribuição
Claro que este é apenas um exemplo de chatbot muitas melhorias podem ser feitas. Não hesite em contribuir, seja escrevendo uma [Issue](https://github.com/TapiocaAberta/eleicoes-chatbot/issues) ou nos enviando um Pull Request. Ficaremos contentes em receber sua ajuda!
## License
* [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)