일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- nodejs
- nft
- threejs
- 라라벨
- polygon
- miniconda
- CSS
- exceljs
- jquery
- Ai
- git
- React
- NextJS
- 배포
- metamask
- 회고
- 공연티켓
- Setting
- node
- pagination
- 블록체인
- Python
- netfunnel
- Remix
- nginx
- Laravel
- Kaikas
- chatGPT
- PM2
- 발행
- Today
- Total
목록분류 전체보기 (126)
박주니 개발 정리
먼저 시작하기 전에 faiss 및 embedding 설정을 하시길 바랍니다. https://junhee6773.tistory.com/entry/python-faiss-%EB%B2%A1%ED%84%B0%ED%99%94-%EC%9E%84%EB%B0%B0%EB%94%A9-%EB%A7%8C%EB%93%9C%EB%8A%94-%EB%B0%A9%EB%B2%95-faiss-%EB%B0%8F-embedding-model-%EC%A4%80%EB%B9%84 python faiss 벡터화 임배딩 만드는 방법 (faiss 및 embedding model 준비)python에서 openai 및 faiss 환경을 설정하기 위해서는 먼저 가상환경부터 구축부터 진행을 해야합니다. 1. miniconda에서 python 가상환경을 설정..
python에서 openai 및 faiss 환경을 설정하기 위해서는 먼저 가상환경부터 구축부터 진행을 해야합니다. 1. miniconda에서 python 가상환경을 설정합니다. https://junhee6773.tistory.com/entry/miniconda-%EC%84%A4%EC%B9%98-%EB%B0%8F-vscode-%EC%97%B0%EA%B2%B0-%EB%B0%A9%EB%B2%95 miniconda 설치 및 vscode 연결 방법1. https://docs.anaconda.com/free/miniconda/miniconda-install/ 에서 환경에 맞게 설치합니다. 저는 window환경이여서 windows graphical installer에서 설치했습니다. Installing Minic..
1. ubuntu에서 python을 설치합니다. sudo apt-get updatesudo apt-get install python3.8 //version에 따라 다르게 설정하면 됨 2. ubuntu에서 miniconda 설치합니다. (python 가상 환경)wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh 3. miniconda를 실행합니다. bash Miniconda3-latest-Linux-x86_64.sh이슈) Do you wish to update your shell profile to automatically initialize conda? This will activate conda on startup and..
1. fast-levenshtein을 설치합니다. npm i fast-levenshtein 2. 유사도 계산을 위한 Levenshtein 거리 계산 코드를 적용합니다. const levenshtein = require("fast-levenshtein");function test() { let name = "test"; //저장된값 let extractedName = "test"; //입력값 const distance = levenshtein.get(name, extractedName); const similarity = 1 - distance / (Math.max(name.length, extractedName.length) + 1); console.log("similarity: ", si..