Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated default temperature to 1 for GPT-5
  • Loading branch information
jamesbraza committed Oct 27, 2025
commit 5a8e421ccbe78560b8841a82fbf7451df0baa6c3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ will return much faster than the first query and we'll be certain the authors ma
| `summary_llm_config` | `None` | Optional configuration for `summary_llm`. |
| `embedding` | `"text-embedding-3-small"` | Embedding model for embedding text chunks when adding papers. |
| `embedding_config` | `None` | Optional configuration for `embedding`. |
| `temperature` | `0.0` | Temperature for LLMs. |
| `temperature` | `1.0` | Temperature for LLMs. |
| `batch_size` | `1` | Batch size for calling LLMs. |
| `texts_index_mmr_lambda` | `1.0` | Lambda for MMR in text index. |
| `verbosity` | `0` | Integer verbosity level for logging (0-3). 3 = all LLM/Embeddings calls logged. |
Expand Down
5 changes: 4 additions & 1 deletion src/paperqa/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,10 @@ class Settings(BaseSettings):
default=None,
description="Optional configuration for the embedding model.",
)
temperature: float = Field(default=0.0, description="Temperature for LLMs.")
temperature: float = Field(
default=1.0,
description="Temperature for LLMs, default is 1 for compatibility with OpenAI's GPT-5.",
)
batch_size: int = Field(default=1, description="Batch size for calling LLMs.")
texts_index_mmr_lambda: float = Field(
default=1.0, description="Lambda for MMR in text index."
Expand Down