Skip to content

search results on default mode missing embedding #27

@esteban-serfe

Description

@esteban-serfe

Using the default configuration when setting up the LocalAIG system with the default confirm from the example: https://github.com/mudler/LocalAGI/blob/main/docker-compose.yaml

  • Entered to local recall interface
  • Created a new collection
  • Added a 4k txt file into a collection (SecurityAuditCheatSheet.txt)
  • Search from the locall recall search interface on an npm vendor name that lives inside the txt file and have only one occurrence in the whole file.

All 5 search similarities have the same value and the embedded are empty.

Result #1
{
  "ID": "14",
  "Metadata": {
    "source": "SecurityAuditCheatSheet.txt",
    "type": "file"
  },
  "Embedding": null,
  "Content": ".......",
  "Similarity": 0.99999964
}
Result #2
{
  "ID": "16",
  "Metadata": {
    "source": "SecurityAuditCheatSheet.txt",
    "type": "file"
  },
  "Embedding": null,
  "Content": "........",
  "Similarity": 0.99999964
}
Result #3
{
  "ID": "15",
  "Metadata": {
    "source": "SecurityAuditCheatSheet.txt",
    "type": "file"
  },
  "Embedding": null,
  "Content": ".......",
  "Similarity": 0.99999964
}
Result #4
{
  "ID": "13",
  "Metadata": {
    "source": "SecurityAuditCheatSheet.txt",
    "type": "file"
  },
  "Embedding": null,
  "Content": "......",
  "Similarity": 0.99999964
}
Result #5
{
  "ID": "12",
  "Metadata": {
    "source": "SecurityAuditCheatSheet.txt",
    "type": "file"
  },
  "Embedding": null,
  "Content": "......",
  "Similarity": 0.99999964
}

Content returned does not belongs to the section of context where the word id located, nor have the reference for the package searched.

I see the request for the embedded been triggered on on localai docker logs, but is not stored?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions