Skip to content

The project aims to implement an integration with the Gemini Large Language Model (LLM). The implementation is based on creating a question-and-answer (QA) program.

Notifications You must be signed in to change notification settings

MatheusADC/integracao_api_gemini

Repository files navigation

Description

The project aims to implement an integration with the Gemini Large Language Model (LLM). The implementation is based on creating a question-and-answer (QA) program with the following specifications:

  • The user will be able to send questions to the LLM, which will then provide answers to the questions;
  • Questions and answers must be saved in a text file in CSV format, which should also record the timestamp of when they occurred;
  • A possible text file format is:
USER; 05/06/2024 10h00; Qual a capital do Brasil?;
LLM; 05/06/2024 10h01; Brasília;
  • It must be possible to send multiple questions to the LLM;
  • If there is a communication error, the user must be informed, and the error should be recorded in the file:
USER; 05/06/2024 10h00; Qual a capital do Brasil?;
LLM; 05/06/2024 10h01; ERRO NA COMUNICAÇÃO;

Example

Windows Terminal - Interaction

image

Save history in a .csv file

image

About

The project aims to implement an integration with the Gemini Large Language Model (LLM). The implementation is based on creating a question-and-answer (QA) program.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages