Record Class InMemoryEmbeddingStoreConfig
java.lang.Object
java.lang.Record
io.micronaut.langchain4j.embedding.InMemoryEmbeddingStoreConfig
- Record Components:
enabled- Whether it is enabledpath- The path to the JSON filejson- The JSON text
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInMemoryEmbeddingStoreConfig(boolean enabled, @Nullable String path, @Nullable String json) Creates an instance of aInMemoryEmbeddingStoreConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Stringjson()Returns the value of thejsonrecord component.@Nullable Stringpath()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
InMemoryEmbeddingStoreConfig
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
enabled
-
path
-
json
-