ChatUpstage chat model.
To use, you should have the environment variable UPSTAGE_API_KEY set with your
API key or pass it as a named parameter to the constructor.
ChatUpstage()Example:
from langchain_upstage import ChatUpstage
model = ChatUpstage()Model name to use.
Automatically inferred from env are UPSTAGE_API_KEY if not provided.
Base URL path for API requests.
Leave blank if not using a proxy or service emulator.
OpenAI api key is not supported for upstage. use upstage_api_key instead.
OpenAI api base is not supported for upstage. use upstage_api_base instead.
OpenAI organization is not supported for upstage.
Tiktoken is not supported for upstage.
Huggingface tokenizer name.
Solar tokenizer is opened in huggingface https://huggingface.co/upstage/solar-pro-tokenizer
Limit sampling to the top K most likely tokens. Lower values are more focused.
Unique key for prompt caching. Use distinct keys per conversational context.
Add trace headers.