-
I'd really like to get this running on Windows, but have been struggling getting the right changes made. I've tried adjusting scripts, using Git Bash, but haven't quite been successful. I am going to try and use Docker next, but any help would be super awesome. -s |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 13 replies
-
Through a few modifications, I've gotten it 96% of the way there using git bash and adjusting scripts, same as you. The .exe binary listens on the correct port, but now I'm sorting out issues with API keys and pinecone issues that might just be a me issue. If I finish my changes and get it working fully, I'll try to push it up to my fork of the repo. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
https://github.com/dan-dean/vault-ai-windows This should work for you, follow the slightly modified procedure in the README.md. Let me know if you run into any issues |
Beta Was this translation helpful? Give feedback.
-
I entered a bogus API in the input field, since I thought I had put the real API to be used everywhere else. Now, though it keeps looking for that bogus API key. i cloned the repository again, checked the system variables, opened a new incognito mode browser... i still can't find where it has stored that key. any ideas on how i can clear this ... and why it's not pulling it from somewhere i explicitly set it? |
Beta Was this translation helpful? Give feedback.
-
I've created a pull request with the main project and it should work cross platform, using run-script-os in the package.json file |
Beta Was this translation helpful? Give feedback.
-
i'm getting the error below when trying to enter a prompt in the UI. openai suggests that the panic seems to have originated from
Any ideas what might be going wrong here? "PANIC: runtime error: invalid memory address or nil pointer dereference\ngoroutine 84 [running]:\ngithub.com/codegangsta/negroni.(*Recovery).ServeHTTP.func1()\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/recovery.go:159 +0xc7\npanic({0x12cfd40, 0x18200d0})\n\tC:/Program Files/Go/src/runtime/panic.go:884 +0x213\ngithub.com/pashpashpash/vault/vault-web-server/postapi.retrieve({0xc000201980, 0x600, 0x63f}, 0xc?, {0xc0002e0000, 0x24})\n\tH:/AI/vault-ai-windows-2/vault-ai-windows/vault-web-server/postapi/pinecone.go:131 +0x28d\ngithub.com/pashpashpash/vault/vault-web-server/postapi.QuestionHandler({0x287e8353fe8, 0xc00000a030}, 0xc0003b6210?)\n\tH:/AI/vault-ai-windows-2/vault-ai-windows/vault-web-server/postapi/questions.go:52 +0x4ab\nnet/http.HandlerFunc.ServeHTTP(0xc000292300?, {0x287e8353fe8?, 0xc00000a030?}, 0xc0001a3668?)\n\tC:/Program Files/Go/src/net/http/server.go:2122 +0x2f\ngithub.com/gorilla/mux.(*Router).ServeHTTP(0xc0000000c0, {0x287e8353fe8, 0xc00000a030}, 0xc000292100)\n\tC:/Users/skyby/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0x1cf\ngithub.com/codegangsta/negroni.Wrap.func1({0x287e8353fe8, 0xc00000a030}, 0x12e7f20?, 0xc000322080)\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/negroni.go:46 +0x4b\ngithub.com/codegangsta/negroni.HandlerFunc.ServeHTTP(0x10cdc9f?, {0x287e8353fe8?, 0xc00000a030?}, 0xc000524020?, 0xc0001a37d0?)\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/negroni.go:29 +0x33\ngithub.com/codegangsta/negroni.middleware.ServeHTTP({{0x14355c0?, 0xc000008918?}, 0xc000008960?}, {0x287e8353fe8, 0xc00000a030}, 0xe61297?)\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/negroni.go:38 +0xb6\ngithub.com/codegangsta/negroni.(*Logger).ServeHTTP(0xc0001fe330, {0x287e8353fe8?, 0xc00000a030}, 0xc000292100, 0xc000322040)\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/logger.go:62 +0x8f\ngithub.com/codegangsta/negroni.middleware.ServeHTTP({{0x1434860?, 0xc0001fe330?}, 0xc000008948?}, {0x287e8353fe8, 0xc00000a030}, 0x12e7f20?)\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/negroni.go:38 +0xb6\ngithub.com/codegangsta/negroni.(*Recovery).ServeHTTP(0x8?, {0x287e8353fe8?, 0xc00000a030?}, 0x0?, 0xc0001a3a50?)\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/recovery.go:193 +0x86\ngithub.com/codegangsta/negroni.middleware.ServeHTTP({{0x14348a0?, 0xc00007f590?}, 0xc000008930?}, {0x287e8353fe8, 0xc00000a030}, 0xc0000b61b0?)\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/negroni.go:38 +0xb6\ngithub.com/codegangsta/negroni.(*Negroni).ServeHTTP(0xc0001fe300, {0x1438280?, 0xc0000b61c0}, 0x10cfdb4?)\n\tC:/Users/skyby/go/pkg/mod/github.com/codegangsta/[email protected]/negroni.go:96 +0x125\nnet/http.serverHandler.ServeHTTP({0x1436c88?}, {0x1438280, 0xc0000b61c0}, 0xc000292100)\n\tC:/Program Files/Go/src/net/http/server.go:2936 +0x316\nnet/http.(*conn).serve(0xc000294360, {0x1438a58, 0xc0001ff290})\n\tC:/Program Files/Go/src/net/http/server.go:1995 +0x612\ncreated by net/http.(*Server).Serve\n\tC:/Program Files/Go/src/net/http/server.go:3089 +0x5ed\n |
Beta Was this translation helpful? Give feedback.
-
I wish I saw this thread before I spent two days trying to get this to work. It works now. It took me forever to get it to start up. Finally, working with chatGPT figured out to just bypass the .bat files and load the environment manually, and setting OpenAI and Pinecone manually as well. It's pretty amazing! |
Beta Was this translation helpful? Give feedback.
-
Thanks for creating this fork. I was trying to install the master on my Windows system and couldn't get it to work. I now have the front-end running but it is returning an error when trying to upload a doc: Failed Files: Is this quota related to The Vault, Pinecone, or something else that I'm missing? I had the thought that perhaps I need to state my The Vault API key somewhere in the package, but I didn't see instructions for that. This is my first pdf and the file size is very small (17kb). Any advice is most welcome. |
Beta Was this translation helpful? Give feedback.
Okay, I've gotten it working but it ended up being a mess and a half. I didn't document all the troubleshooting that I had to do to get it to work with my already messy windows environment, but what matters is that it works. I am mid-finals week so tonight I can't get you what you need, but it is possible. I'll try to push up to my fork in the following week, with a better explanation of what you need to do differently on Windows.