Spaces:
Configuration error
Configuration error
File size: 354 Bytes
62218d5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import os
from dotenv import load_dotenv
load_dotenv()
# Gemini API Key (lấy free tại https://makersuite.google.com/app/apikey)
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY", "your-api-key-here")
# Model settings
EMBEDDING_MODEL = "sentence-transformers/all-MiniLM-L6-v2"
GEMINI_MODEL = "gemini-pro"
CHUNK_SIZE = 500
CHUNK_OVERLAP = 50
|