diff --git a/jina-ai/Dockerfile b/jina-ai/Dockerfile index a584c18..5b5f4ed 100644 --- a/jina-ai/Dockerfile +++ b/jina-ai/Dockerfile @@ -17,8 +17,8 @@ WORKDIR /app # Copy application code COPY ./src ./src -COPY ./config.json ./ COPY ./tsconfig.json ./tsconfig.json +COPY ./jina-ai/config.json ./ RUN npm run build COPY ./jina-ai/src ./jina-ai/src diff --git a/jina-ai/config.json b/jina-ai/config.json new file mode 100644 index 0000000..9aac241 --- /dev/null +++ b/jina-ai/config.json @@ -0,0 +1,61 @@ +{ + "env": { + "https_proxy": "", + "OPENAI_BASE_URL": "", + "GEMINI_API_KEY": "", + "OPENAI_API_KEY": "", + "JINA_API_KEY": "", + "BRAVE_API_KEY": "", + "DEFAULT_MODEL_NAME": "" + }, + "defaults": { + "search_provider": "brave", + "llm_provider": "gemini", + "step_sleep": 0 + }, + "providers": { + "gemini": { + "createClient": "createGoogleGenerativeAI" + }, + "openai": { + "createClient": "createOpenAI", + "clientConfig": { + "compatibility": "strict" + } + } + }, + "models": { + "gemini": { + "default": { + "model": "gemini-2.0-flash", + "temperature": 0, + "maxTokens": 8000 + }, + "tools": { + "search-grounding": { "temperature": 0 }, + "dedup": { "temperature": 0.1 }, + "evaluator": {}, + "errorAnalyzer": {}, + "queryRewriter": { "temperature": 0.1 }, + "agent": { "temperature": 0.7 }, + "agentBeastMode": { "temperature": 0.7 } + } + }, + "openai": { + "default": { + "model": "gpt-4o-mini", + "temperature": 0, + "maxTokens": 8000 + }, + "tools": { + "search-grounding": { "temperature": 0 }, + "dedup": { "temperature": 0.1 }, + "evaluator": {}, + "errorAnalyzer": {}, + "queryRewriter": { "temperature": 0.1 }, + "agent": { "temperature": 0.7 }, + "agentBeastMode": { "temperature": 0.7 } + } + } + } +}