Changed the name of tests from LiveTests to LiveTest
This commit is contained in:
parent
9796fd5197
commit
c36a6cc5a4
|
@ -36,7 +36,7 @@ import dev.langchain4j.store.embedding.EmbeddingMatch;
|
||||||
import dev.langchain4j.store.embedding.EmbeddingStore;
|
import dev.langchain4j.store.embedding.EmbeddingStore;
|
||||||
import dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore;
|
import dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore;
|
||||||
|
|
||||||
public class ChainWithDocumentLiveTests {
|
public class ChainWithDocumentLiveTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenChainWithDocument_whenPrompted_thenValidResponse() {
|
public void givenChainWithDocument_whenPrompted_thenValidResponse() {
|
||||||
|
|
|
@ -27,7 +27,7 @@ import dev.langchain4j.store.embedding.EmbeddingStore;
|
||||||
import dev.langchain4j.store.embedding.EmbeddingStoreIngestor;
|
import dev.langchain4j.store.embedding.EmbeddingStoreIngestor;
|
||||||
import dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore;
|
import dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore;
|
||||||
|
|
||||||
public class ChatWithDocumentLiveTests {
|
public class ChatWithDocumentLiveTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenDocument_whenPrompted_thenValidResponse() {
|
public void givenDocument_whenPrompted_thenValidResponse() {
|
||||||
|
|
|
@ -15,7 +15,7 @@ import java.util.logging.Logger;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class ChatWithMemoryLiveTests {
|
public class ChatWithMemoryLiveTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenMemory_whenPrompted_thenValidResponse() {
|
public void givenMemory_whenPrompted_thenValidResponse() {
|
||||||
|
|
|
@ -15,7 +15,7 @@ import dev.langchain4j.model.openai.OpenAiChatModel;
|
||||||
|
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
|
|
||||||
public class PromptTemplatesLiveTests {
|
public class PromptTemplatesLiveTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenPromptTemplate_whenSuppliedInput_thenValidResponse() {
|
public void givenPromptTemplate_whenSuppliedInput_thenValidResponse() {
|
||||||
|
|
|
@ -10,7 +10,7 @@ import dev.langchain4j.memory.chat.MessageWindowChatMemory;
|
||||||
import dev.langchain4j.model.openai.OpenAiChatModel;
|
import dev.langchain4j.model.openai.OpenAiChatModel;
|
||||||
import dev.langchain4j.service.AiServices;
|
import dev.langchain4j.service.AiServices;
|
||||||
|
|
||||||
public class ServiceWithToolsLiveTests {
|
public class ServiceWithToolsLiveTest {
|
||||||
|
|
||||||
static class Calculator {
|
static class Calculator {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue