mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-04 04:07:54 +00:00
Switch default openai model to text-davinci-003 (#215)
This commit is contained in:
parent
0568998166
commit
de4b255c1f
@ -20,11 +20,11 @@ class OpenAI(LLM, BaseModel):
|
||||
.. code-block:: python
|
||||
|
||||
from langchain import OpenAI
|
||||
openai = OpenAI(model="text-davinci-002")
|
||||
openai = OpenAI(model="text-davinci-003")
|
||||
"""
|
||||
|
||||
client: Any #: :meta private:
|
||||
model_name: str = "text-davinci-002"
|
||||
model_name: str = "text-davinci-003"
|
||||
"""Model name to use."""
|
||||
temperature: float = 0.7
|
||||
"""What sampling temperature to use."""
|
||||
|
Loading…
Reference in New Issue
Block a user