설치 및 설정
아래 명령어를 사용하여snowflake-snowpark-python 라이브러리를 설치하는 것으로 시작합니다. 그런 다음 Snowflake에 연결하기 위한 자격 증명을 환경 변수로 구성하거나 직접 전달합니다.
chat model 호출하기
이제invoke 또는 stream 메서드를 사용하여 chat model을 호출할 수 있습니다.
messages = [
SystemMessage(content=“You are a friendly assistant.”),
HumanMessage(content=“What are large language models?”),
]
chat.invoke(messages)
Stream
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.