19 lines
473 B
Python
19 lines
473 B
Python
import gradio as gr
|
|
|
|
# Configuration settings for the application
|
|
|
|
# URLs and connection settings
|
|
QDRANT_URL = "http://localhost:6333"
|
|
QDRANT_COLLECTION_NAME = "my_custom_collection"
|
|
OLLAMA_URL = "http://127.0.0.1:11434"
|
|
|
|
# Model settings
|
|
EMBEDDING_MODEL = "mxbai-embed-large"
|
|
DEFAULT_MODEL = "llama3.2"
|
|
|
|
# Available models
|
|
AVAILABLE_MODELS = ["llama3.1", "llama3.2", "deepseek-r1:7b", "deepseek-r1:14b"]
|
|
|
|
# Default theme
|
|
DEFAULT_THEME = gr.themes.Soft(primary_hue="blue")
|