Find answers from the community

Updated 9 months ago

System prompt

i'm experience the anthropic llm not using the system_prompt kwarg
Plain Text
llm = Anthropic(
  system_prompt=system_prompt


this works however when in chat
Plain Text
self.memory.put(ChatMessage(content=system_prompt, role=MessageRole.SYSTEM))
L
a
2 comments
You have the latest version of the llama-index-llms-anthropic package?
Add a reply
Sign up and join the conversation on Discord