AI Server. Find Embeddings#
The block allows:
- to find the most similar strings in the knowledge base for a given embedding query[^1],
- to return a list of them, sorted in descending order of similarity.
The knowledge base can be populated using the "AI Server. Add Document" and "AI Server. Add Chunks" blocks.
| Search Query | [Text] The text that needs to be found. |
| Number of Results | [Number] The number of results in the response. |
| List of GUID/File Paths | [List] A list of file GUIDs or paths where the search should be performed. For example, The file path must include the file name and extension. |
| List of GUID/Folder Paths | [List] A list of GUIDs or folder paths where the search should be performed. For example, |
| Include Subfolders | If enabled, subfolders will be considered. |
| Timeout | [Number] The maximum wait time for a response in seconds. |
| Result | [List of Objects] A list of ChunkItem objects. Available properties:
|
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block. |
[^1]: An embedding is a vector (a set of numbers) that characterizes the meaning associated with the given input text. Words or sentences with similar meanings will have embeddings with minimal cosine distance. Embeddings can also be used to search for the most semantically similar words, strings, or paragraphs in document databases.