FriendliAI enhances AI application performance and optimizes
cost savings with scalable, efficient deployment options, tailored for high-demand AI workloads.
from langchain_community.chat_models.friendli import ChatFriendlichat = ChatFriendli(model='meta-llama-3.1-8b-instruct')for m in chat.stream("Tell me fun things to do in NYC"): print(m.content, end="", flush=True)