Annotation Interface的使用
dev.langchain4j.Experimental
使用Experimental的程序包
程序包
说明
-
dev.langchain4j.model.chat.listener中Experimental的使用
修饰符和类型类说明classThe error context.interfaceAChatLanguageModellistener that listens for requests, responses and errors.classA request to theChatLanguageModelorStreamingChatLanguageModel, intended to be used withChatModelListener.classThe request context.classA response from theChatLanguageModelorStreamingChatLanguageModel, intended to be used withChatModelListener.classThe response context.修饰符和类型方法说明default voidChatModelListener.onError(ChatModelErrorContext errorContext) This method is called when an error occurs during interaction with the model.default voidChatModelListener.onRequest(ChatModelRequestContext requestContext) This method is called before the request is sent to the model.default voidChatModelListener.onResponse(ChatModelResponseContext responseContext) This method is called after the response is received from the model. -
dev.langchain4j.rag中Experimental的使用
注释类型为Experimental的dev.langchain4j.rag中的类 -
dev.langchain4j.rag.content.aggregator中Experimental的使用
修饰符和类型接口说明interface -
dev.langchain4j.rag.content.injector中Experimental的使用
-
dev.langchain4j.rag.query.router中Experimental的使用
-
dev.langchain4j.rag.query.transformer中Experimental的使用
-
dev.langchain4j.store.embedding中Experimental的使用
修饰符和类型方法说明default voidRemoves a single embedding from the store by ID.default voidEmbeddingStore.removeAll()Removes all embeddings from the store.default voidRemoves all embeddings that match the specifiedFilterfrom the store.default voidEmbeddingStore.removeAll(Collection<String> ids) Removes all embeddings that match the specified IDs from the store.