Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite_vss unsupported on win32-x64 #37

Closed
sirkitree opened this issue Oct 26, 2024 · 4 comments
Closed

sqlite_vss unsupported on win32-x64 #37

sirkitree opened this issue Oct 26, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@sirkitree
Copy link
Collaborator

recieving error:

Server running at http://localhost:3000/
file:///C:/Users/sirki/repos/eliza/src/adapters/sqlite/sqlite_vss.ts:31
        throw new Error(`Unsupported platform for sqlite-vss, on a ${platform}-${arch} machine, but not in supported platforms (${supportedPlatforms
              ^

Error: Unsupported platform for sqlite-vss, on a win32-x64 machine, but not in supported platforms (darwin-x64,darwin-arm64,linux-x64). Consult the sqlite-vss NPM package README for details.
    at loadablePathResolver (file:///C:/Users/sirki/repos/eliza/src/adapters/sqlite/sqlite_vss.ts:31:15)
    at getVectorLoadablePath (file:///C:/Users/sirki/repos/eliza/src/adapters/sqlite/sqlite_vss.ts:43:12)
    at loadVector (file:///C:/Users/sirki/repos/eliza/src/adapters/sqlite/sqlite_vss.ts:50:22)
    at load (file:///C:/Users/sirki/repos/eliza/src/adapters/sqlite/sqlite_vss.ts:56:5)
    at new SqliteDatabaseAdapter (file:///C:/Users/sirki/repos/eliza/src/adapters/sqlite.ts:38:9)
    at startAgent (file:///C:/Users/sirki/repos/eliza/src/index.ts:68:16)
    at startAgents (file:///C:/Users/sirki/repos/eliza/src/index.ts:181:15)
    at file:///C:/Users/sirki/repos/eliza/src/index.ts:184:1

Node.js v20.18.0

I gather that sqlite_vss isn't' compatible with win32 and i'd like to run this on my windoze machine. I think I saw mention of using postgres in chat, perhaps that'd fix this.

@sirkitree sirkitree added the bug Something isn't working label Oct 27, 2024
@wanderin
Copy link

getting the same issue. Should we explore alternatives, or should we just use linux

@wanderin
Copy link

@sirkitree did you ever figure this out?

@sirkitree
Copy link
Collaborator Author

No i just started developing on osx for now. I think the solution is swapping out sqlite_vss for something else entirely. Postgres was metnioned in a chat somewhere

@sirkitree
Copy link
Collaborator Author

from dev chat:

we have a postgres adapter with pgvector
we just need to switch to that
if you see, we are using SqliteDatabaseDadapter
But we have a PostgresDatabaseAdapter
works gud

asg017/sqlite-vss#98 (comment)

@sirkitree sirkitree added this to Eliza Oct 28, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in Eliza Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants