-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.example
More file actions
43 lines (31 loc) · 1.96 KB
/
Copy path.env.example
File metadata and controls
43 lines (31 loc) · 1.96 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
# -- Active LLM Provider (fill in the block for your chosen LLM_PROVIDER) --
# LLM PROVIDER
LLM_PROVIDER = '<Your LLM provider here>' # Options: OPENAI, SAIA, OLLAMA, HUGGINGFACE, OPENROUTER (use SAIA for any OpenAI-compatible endpoint)
LLM_MODEL = '<Your model here>' # Specify the model to use for the selected provider (e.g., gpt-4o for OpenAI)
# OPENAI
OPENAI_API_KEY = 'Your OpenAI API key'
OPENAI_ORGANIZATION_ID = 'Your OpenAI Organization ID' # Optional, only needed if you have multiple organizations in OpenAI
# SAIA / Any OpenAI-compatible endpoint
# Schema-Miner supports any service that exposes an OpenAI-compatible API.
# Just provide the API key and the base URL for your preferred service.
SAIA_API_KEY = 'Your API key'
SAIA_BASE_URL = 'https://chat-ai.academiccloud.de/v1' # GWDG/SAIA (Germany)
# OLLAMA
OLLAMA_BASE_URL = 'OLLAMA Server Base URL'
# HuggingFace
HuggingFace_Access_Token = 'HuggingFace access token'
HUGGINGFACE_USE_LOCAL = False # Set to True to use a local HuggingFace model (GPU recommended), False to use HuggingFace Inference API
# OpenRouter
OPENROUTER_API_KEY = 'Your OpenRouter API key'
OPENROUTER_BASE_URL = 'https://openrouter.ai/api/v1' # OpenRouter API base URL
# -- Process Configuration --
PROCESS_NAME = 'Your process name here'
PROCESS_DESCRIPTION = 'Your process description here'
# -- Data Path Configuration (each stage reads only its own data path) --
STAGE1_SPECS_PATH = 'Path to the process specification document for stage 1'
STAGE2_PAPERS_PATH = 'Path to the directory containing research papers for stage 2'
STAGE3_PAPERS_PATH = 'Path to the directory containing research papers for stage 3'
# -- Output Path Configuration --
# Schemas are saved at RESULTS_PATH/<model>.json, where <model> is LLM_MODEL.
# Stages 2 and 3 additionally save the schema after each paper under RESULTS_PATH/intermediate-schema/<model>/
RESULTS_PATH = 'Path to the directory where results will be saved'