generated from cording12/next-fast-turbo
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: gpt-researcher custom response.Now very close to perplexity.
- Loading branch information
Showing
5 changed files
with
212 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,35 @@ | ||
#true if you wana run local setup with Ollama | ||
IS_LOCAL_SETUP = 'false' | ||
|
||
#Your Unstructured IO API Key. Use any value if running a local instance or file upload support isn't needed. | ||
#Your Unstructed IO API Key. Random value if you are using unstructured locally or dont want to upload files | ||
UNSTRUCTURED_API_KEY = "" | ||
|
||
#POSTGRES DB TO TRACK USERS | ||
POSTGRES_DATABASE_URL = "postgresql+psycopg2://postgres:postgres@localhost:5432/surfsense" | ||
|
||
# API KEY TO PREVENT USER REGISTRATION SPAM | ||
# API KEY TO VERIFY | ||
API_SECRET_KEY = "surfsense" | ||
|
||
# Your JWT secret and algorithm | ||
SECRET_KEY = "your_secret_key" | ||
ALGORITHM = "HS256" | ||
ACCESS_TOKEN_EXPIRE_MINUTES = 720 | ||
ACCESS_TOKEN_EXPIRE_MINUTES = "720" | ||
|
||
# SEARCHE ENGINES TO USE - FUTURE FEATURE - LEAVE EMPTY FOR NOW | ||
TAVILY_API_KEY="" | ||
|
||
|
||
# UNCOMMENT THE RESPECTIVE BELOW LINES FOR LOCAL/OPENAI SETUP | ||
|
||
# For OpenAI LLM SETUP | ||
OPENAI_API_KEY="sk-proj-GHG....." | ||
FAST_LLM="openai:gpt-4o-mini" | ||
SMART_LLM="openai:gpt-4o-mini" | ||
EMBEDDING="openai:text-embedding-3-large" | ||
|
||
# For Local Setups | ||
# OPENAI_API_KEY="123" | ||
# OLLAMA_BASE_URL="http://localhost:11434" | ||
# FAST_LLM="ollama:qwen2.5:7b" | ||
# SMART_LLM="ollama:qwen2.5:7b" | ||
# EMBEDDING="ollama:qwen2.5:7b" | ||
# TEMPRATURE="0" | ||
|
||
|
Oops, something went wrong.