In this video, I explain step by step how we can do it.
What does this repo contain?
- Load a CSV file, TXT file
- Configure Ollama to use Llama2
- Use and configure a Huggingface embedding model
- Custom Prompt template
Add an .env file and set OPENAI_API_KEY, see OpenAI api key:
$ OPENAI_API_KEY='sk-xxxxx'name: embedded_flowers_index_768
{
"fields": [
{
"numDimensions": 768,
"path": "embedding",
"similarity": "euclidean",
"type": "vector"
}
]
}$ yarn install# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod-
Install node curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash nvm install 20 source ~/.bashrc
-
Install yarn curl -o- -L https://yarnpkg.com/install.sh | bash source ~/.bashrc
source-clone
- bin/
- 64bts
- source-clone.so
- 64bts
- data/
- locale/
- de-DE.ini
- en-US.ini
- es-ES.ini
- pt-BR.ini
- locale/
- Website - https://mireino.com
- Twitter - @GeraDeluxer