mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-26 06:28:56 +08:00
jina-ai: use brave for search
This commit is contained in:
parent
ff59d20dce
commit
83144f8804
@ -17,10 +17,10 @@ WORKDIR /app
|
||||
|
||||
# Copy application code
|
||||
COPY ./src ./src
|
||||
COPY ./config.json ./
|
||||
COPY ./tsconfig.json ./tsconfig.json
|
||||
RUN npm run build
|
||||
|
||||
COPY ./jina-ai/config.json ./
|
||||
COPY ./jina-ai/src ./jina-ai/src
|
||||
COPY ./jina-ai/tsconfig.json ./jina-ai/tsconfig.json
|
||||
WORKDIR /app/jina-ai
|
||||
|
||||
61
jina-ai/config.json
Normal file
61
jina-ai/config.json
Normal file
@ -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 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user