Uses of Class
dev.langchain4j.test.model.ChatRequestAssert
Packages that use ChatRequestAssert
-
Uses of ChatRequestAssert in dev.langchain4j.test
Methods in dev.langchain4j.test that return ChatRequestAssertModifier and TypeMethodDescriptionstatic ChatRequestAssertLangChain4jAssertions.assertThat(ChatRequest actual) Starts assertions on the given request sent to a chat model. -
Uses of ChatRequestAssert in dev.langchain4j.test.model
Subclasses with type arguments of type ChatRequestAssert in dev.langchain4j.test.modelModifier and TypeClassDescriptionfinal classAssertions on a request sent to a chat model: its messages and the tools it offers.Methods in dev.langchain4j.test.model that return ChatRequestAssertModifier and TypeMethodDescriptionChatRequestAssert.hasLastUserMessageContaining(String text) Asserts that the last user message of the request contains the given text.ChatRequestAssert.hasSystemMessageContaining(String text) Asserts that the request has a system message containing the given text.ChatRequestAssert.hasToolSpecification(String toolName) Asserts that the request offers the model the tool with the given name.ChatRequestAssert.hasUserMessageContaining(String text) Asserts that the request has a user message containing the given text.