Chroma class

Inheritance

Constructors

Chroma.new({String baseUrl = "http://localhost:8000"})

Properties

baseUrl String
getter/setter pair
client ↔ ChromaClient
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() Future<void>
override
createCollection(String docsName, List<Segment> segmentList, LLMSettings llmSettings) Future<CollectionInfo>
override
deleteCollection(String collectionName) Future<void>
override
deleteSegment(String collectionName, String segmentId) Future<void>
override
disconnect() Future<void>
override
insertSegment(String collectionName, Segment segment, int? index, LLMSettings llmSettings) Future<String>
override
listCollections() Future<List<CollectionInfo>>
override
listSegments(String collectionName) Future<CollectionResult?>
override
multiQuery(List<String> collectionNameList, String queryText, LLMSettings llmSettings, {int nResults = 2, bool removeDuplicates = true}) Future<List<MultiDocsQuerySegment>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String collectionName, List<String> queryTexts, LLMSettings llmSettings, {int nResults = 2}) Future<List<List<QuerySegmentResult>>>
override
renameCollection(String collectionName, String newDocsName) Future<CollectionInfo>
override
toString() String
A string representation of this object.
inherited
updateSegment(String collectionName, SegmentInfo segmentInfo, LLMSettings llmSettings) Future<void>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

customKey String
final
docsNameKey String
final
embeddingsModelKey String
final
segmentIdOrderKey String
final
vdbKey String
final
vdbValue String
final