mirror of
https://github.com/wahyd4/SAI2.git
synced 2026-08-09 05:06:05 +10:00
26 lines
1.5 KiB
YAML
26 lines
1.5 KiB
YAML
version: '3.4'
|
|
|
|
services:
|
|
search4all:
|
|
image: test
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8800:8800
|
|
environment:
|
|
OPENAI_API_KEY: "NothingFreeChatGPT!"
|
|
OPENAI_BASE_URL: https://nothing-free-chatgpt.junv.cc/v1
|
|
LLM_MODEL: gpt-3.5-turbo-0125
|
|
RELATED_QUESTIONS: 1
|
|
# Change your search provider name here, if use another different provider
|
|
BACKEND: SEARXNG
|
|
SEARXNG_BASE_URL: https://sear.junv.cc/
|
|
# Set your search key from your provider here
|
|
SEARCH1API_KEY: xxxx
|
|
SYSTEM_PROMPT: |-
|
|
You are a large language AI assistant built by AI. You are given a user question, and please write clean, concise and accurate answer to the question. You will be given a set of related contexts to the question, each starting with a reference number like [[citation:x]], where x is a number. Please use the context and cite the context at the end of each sentence if applicable.
|
|
Please cite the contexts with the reference numbers, in the format [citation:x]. If a sentence comes from multiple contexts, please list all applicable citations, like [citation:3][citation:5].
|
|
Other than code and specific names and citations, your answer must be written in the same language as the question.
|
|
{context}
|
|
Remember, don't blindly repeat the contexts verbatim and use the exact language that I ask the question to answer And here is the user question:
|
|
# RELATED_QUESTIONS_SYSTEM_PROMPT: "xxx {context} xxx"
|