MCPcopy Create free account
hub / github.com/LagPixelLOL/ChatGPTCLIBot / Document

Method Document

main/interface/data/Document.cpp:11–11  ·  view source on GitHub ↗

class Document start:

Source from the content-addressed store, hash-verified

9
10 //class Document start:
11 Document::Document(std::string text, std::vector<float> embeddings) : text_(std::move(text)), embeddings_(std::move(embeddings)) {}
12
13 /**
14 * Construct a Document object from a json object.

Callers

nothing calls this directly

Calls 3

b64_str_to_floatFunction · 0.85
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected