Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/retzd-tech/berlayar-ai-prompt-service
https://github.com/retzd-tech/berlayar-ai-prompt-service
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/retzd-tech/berlayar-ai-prompt-service
- Owner: retzd-tech
- Created: 2023-09-07T13:11:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-28T06:16:39.000Z (8 months ago)
- Last Synced: 2024-10-03T00:38:11.088Z (about 1 month ago)
- Language: JavaScript
- Size: 6.76 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LangChain.js LLM
## Setup
1. Provide all the information you want your LLM to be trained on in the `training` directory in markdown files. Folder depth doesn't matter.
2. Add your OpenAI API key in environment vars via the kay `OPENAI_API_KEY`.
3. Run `yarn train` or `npm train` to set up your vector store.
4. Modify the base prompt in `lib/basePrompt.js`
5. Run index.js, and start playing around with it!