mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-24 20:09:01 +00:00
together[minor]: add llm (#15853)
This commit is contained in:
@@ -3,6 +3,7 @@ import logging
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
||||
from aiohttp import ClientSession
|
||||
from langchain_core._api.deprecation import deprecated
|
||||
from langchain_core.callbacks import (
|
||||
AsyncCallbackManagerForLLMRun,
|
||||
CallbackManagerForLLMRun,
|
||||
@@ -16,6 +17,9 @@ from langchain_community.utilities.requests import Requests
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@deprecated(
|
||||
since="0.0.12", removal="0.2", alternative_import="langchain_together.Together"
|
||||
)
|
||||
class Together(LLM):
|
||||
"""LLM models from `Together`.
|
||||
|
||||
|
Reference in New Issue
Block a user