mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-31 10:23:18 +00:00
Update Fireworks model names (#9085)
This commit is contained in:
@@ -28,9 +28,7 @@ logger = logging.getLogger(__name__)
|
||||
class BaseFireworks(BaseLLM):
|
||||
"""Wrapper around Fireworks large language models."""
|
||||
|
||||
model_id: str = Field(
|
||||
"accounts/fireworks/models/fireworks-llama-v2-7b-chat", alias="model"
|
||||
)
|
||||
model_id: str = Field("accounts/fireworks/models/llama-v2-7b-chat", alias="model")
|
||||
"""Model name to use."""
|
||||
temperature: float = 0.7
|
||||
"""What sampling temperature to use."""
|
||||
@@ -174,10 +172,10 @@ class FireworksChat(BaseLLM):
|
||||
Example:
|
||||
.. code-block:: python
|
||||
from langchain.llms import FireworksChat
|
||||
fireworkschat = FireworksChat(model_id=""fireworks-llama-v2-13b-chat"")
|
||||
fireworkschat = FireworksChat(model_id=""llama-v2-13b-chat"")
|
||||
"""
|
||||
|
||||
model_id: str = "accounts/fireworks/models/fireworks-llama-v2-7b-chat"
|
||||
model_id: str = "accounts/fireworks/models/llama-v2-7b-chat"
|
||||
"""Model name to use."""
|
||||
temperature: float = 0.7
|
||||
"""What sampling temperature to use."""
|
||||
@@ -269,7 +267,7 @@ class Fireworks(BaseFireworks):
|
||||
Example:
|
||||
.. code-block:: python
|
||||
from langchain.llms import fireworks
|
||||
llm = Fireworks(model_id="fireworks-llama-v2-13b")
|
||||
llm = Fireworks(model_id="llama-v2-13b")
|
||||
"""
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user