mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-05 04:38:26 +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
|
.. code-block:: python
|
||||||
|
|
||||||
from langchain import OpenAI
|
from langchain import OpenAI
|
||||||
openai = OpenAI(model="text-davinci-002")
|
openai = OpenAI(model="text-davinci-003")
|
||||||
"""
|
"""
|
||||||
|
|
||||||
client: Any #: :meta private:
|
client: Any #: :meta private:
|
||||||
model_name: str = "text-davinci-002"
|
model_name: str = "text-davinci-003"
|
||||||
"""Model name to use."""
|
"""Model name to use."""
|
||||||
temperature: float = 0.7
|
temperature: float = 0.7
|
||||||
"""What sampling temperature to use."""
|
"""What sampling temperature to use."""
|
||||||
|
Loading…
Reference in New Issue
Block a user