Text Generation
sentence-transformers
English
rag
retrieval-augmented-generation
fastapi
react
chromadb
banking
document-intelligence
vector-search
Instructions to use thilakx/Bankoflibreo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use thilakx/Bankoflibreo with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("thilakx/Bankoflibreo") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
File size: 1,451 Bytes
342595c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # start_dev.ps1 - Launch Backend + Frontend together
# Run from the repo root: .\start_dev.ps1
$root = $PSScriptRoot
Write-Host "========================================" -ForegroundColor Cyan
Write-Host " Bank of Librio - RAG Dev Startup" -ForegroundColor Cyan
Write-Host "========================================" -ForegroundColor Cyan
# 1. Start FastAPI backend
Write-Host "`n[1/2] Starting FastAPI backend on http://127.0.0.1:8000 ..." -ForegroundColor Yellow
Start-Process powershell -ArgumentList "-NoExit", "-Command", @"
Set-Location '$root\backend'
Write-Host 'Backend: activating venv if available...' -ForegroundColor Cyan
if (Test-Path '..\venv\Scripts\Activate.ps1') { & '..\venv\Scripts\Activate.ps1' }
elseif (Test-Path '..\env\Scripts\Activate.ps1') { & '..\env\Scripts\Activate.ps1' }
python -m uvicorn app:app --host 127.0.0.1 --port 8000 --reload
"@
# 2. Start Vite frontend
Write-Host "[2/2] Starting Vite frontend on http://localhost:5173 ..." -ForegroundColor Yellow
Start-Process powershell -ArgumentList "-NoExit", "-Command", @"
Set-Location '$root\frontend'
npm run dev
"@
Write-Host "`n[OK] Both servers launching in separate windows." -ForegroundColor Green
Write-Host " Backend: http://127.0.0.1:8000" -ForegroundColor Green
Write-Host " Frontend: http://localhost:5173" -ForegroundColor Green
Write-Host "`nOpen http://localhost:5173 in your browser once both are ready.`n" -ForegroundColor Cyan
|