Skip to content

fifmazurkiewicz/SimpleFileAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpleFileAgent

Chat do przeszukiwania schematów odpowiedzi na maile z plików Excel.

Uruchomienie

Backend

cd backend
cp .env.example .env       # uzupełnij klucze API
poetry install
poetry run uvicorn main:app --reload

Frontend

cd frontend
npm install
npm run dev

Otwórz http://localhost:5173


Konfiguracja LLM (backend/.env)

# Wybierz provider: "custom" lub "openrouter"
LLM_PROVIDER=openrouter

# Własny endpoint
CUSTOM_LLM_URL=http://twoj-serwer/v1
CUSTOM_LLM_API_KEY=twoj-klucz
CUSTOM_LLM_MODEL=nazwa-modelu

# OpenRouter
OPENROUTER_API_KEY=sk-or-...
OPENROUTER_MODEL=anthropic/claude-3.5-sonnet

Flow

  1. Wgraj Excel → backend parsuje zakładki → tworzy data/index.md + data/sheet_*.md
  2. Zadaj pytanie → LLM czyta index.md → otwiera właściwy plik → odpowiada

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors