mirror of
https://github.com/run-llama/nextjs-rsc.git
synced 2026-07-01 21:34:16 -04:00
@@ -0,0 +1,57 @@
|
||||
# The Llama Cloud API key.
|
||||
# LLAMA_CLOUD_API_KEY=
|
||||
|
||||
# The provider for the AI models to use.
|
||||
MODEL_PROVIDER=openai
|
||||
|
||||
# The name of LLM model to use.
|
||||
MODEL=gpt-4o-mini
|
||||
|
||||
# Name of the embedding model to use.
|
||||
EMBEDDING_MODEL=text-embedding-3-large
|
||||
|
||||
# Dimension of the embedding model to use.
|
||||
EMBEDDING_DIM=1024
|
||||
|
||||
# The questions to help users get started (multi-line).
|
||||
# CONVERSATION_STARTERS=
|
||||
|
||||
# The OpenAI API key to use.
|
||||
OPENAI_API_KEY=
|
||||
|
||||
# Temperature for sampling from the model.
|
||||
# LLM_TEMPERATURE=
|
||||
|
||||
# Maximum number of tokens to generate.
|
||||
# LLM_MAX_TOKENS=
|
||||
|
||||
# The number of similar embeddings to return when retrieving documents.
|
||||
# TOP_K=
|
||||
|
||||
# The directory to store the local storage cache.
|
||||
# STORAGE_CACHE_DIR=.cache
|
||||
|
||||
# FILESERVER_URL_PREFIX is the URL prefix of the server storing the images generated by the interpreter.
|
||||
FILESERVER_URL_PREFIX=http://localhost:3000/api/files
|
||||
|
||||
# Customize prompt to generate the next question suggestions based on the conversation history.
|
||||
# Disable this prompt to disable the next question suggestions feature.
|
||||
NEXT_QUESTION_PROMPT="You're a helpful assistant! Your task is to suggest the next question that user might ask.
|
||||
Here is the conversation history
|
||||
---------------------
|
||||
{conversation}
|
||||
---------------------
|
||||
Given the conversation history, please give me 3 questions that you might ask next!
|
||||
Your answer should be wrapped in three sticks which follows the following format:
|
||||
```
|
||||
<question 1>
|
||||
<question 2>
|
||||
<question 3>
|
||||
```"
|
||||
|
||||
# The system prompt for the AI model.
|
||||
SYSTEM_PROMPT="You are a DuckDuckGo search agent.
|
||||
You can use the duckduckgo search tool to get information from the web to answer user questions.
|
||||
For better results, you can specify the region parameter to get results from a specific region but it's optional.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user