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

Tutorial #1

Open
ZachZuk opened this issue May 10, 2023 · 3 comments
Open

Tutorial #1

ZachZuk opened this issue May 10, 2023 · 3 comments

Comments

@ZachZuk
Copy link

ZachZuk commented May 10, 2023

Is it possible if I could get a more in depth tutorial on how to download and install, I am not experienced in this area, some help would be great.

@tsol
Copy link
Owner

tsol commented May 10, 2023

In short:

  1. git clone the repo, make npm install
  2. Rename .env.default into .env
  3. Register an application for search in your google account, get API key and Context ID from there
  4. Fill in .env with those
  5. Rename models_skel folder into models
  6. download symantics model files into some other folder, using "git lfs install", "git lfs clone [repo]" - move all .json files and model.onnx into models/bla-bla.../default
  7. download main GGML model using "node download-model.js" (9.5 GB)
  8. git clone "llama.app" repository from github into llama.app folder inside of project
  9. build llama.cpp (using make) - file main should be created

Run test file using "npm run start" - this will run "run.ts" file, which calls search tool with a query.

Then create your own tools in src/prompt-tools folder according to search.js format.

Sounds a little bit complicated, i guess some of it can be automated.

@ZachZuk
Copy link
Author

ZachZuk commented May 10, 2023

Thanks, do I need to install anything like JS or is git all I need?

@tsol
Copy link
Owner

tsol commented May 13, 2023

You will need node environment installed. All the rest pretty much is installed using "npm install" inside the repository after you've downloaded it. Have fun! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants