Skip to content

Instantly share code, notes, and snippets.

@tae0y
tae0y / 240713-dbpia-api.ipynb
Last active July 17, 2024 10:16
240713 DBpia API 사용한 초록 요약 및 군집화.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / -ai-cop_shared-3-ostgresql_embed_openai_ver1-00-ipynb.ipynb
Last active June 22, 2024 06:30
[AI CoP_shared] 3주차 ostgresql_embed_openAI_ver1.00.ipynb의 사본
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / -ai-cop-2-ipynb.ipynb
Created June 10, 2024 15:22
[AI CoP] 2주차 프롬프트 엔지니어링 데모ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / finetune_prompttune_demo_on_collab_v1-00.ipynb
Created May 31, 2024 11:04
finetune_prompttune_demo_on_collab_v1.00.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / relational_data_query_demo_on_colab_ver1-00.ipynb
Created May 31, 2024 11:04
relational_data_query_demo_on_colab_ver1.00.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / ollama_rag_on_colab_demo_ver1-00.ipynb
Created May 31, 2024 11:04
ollama_RAG_on_colab_demo_ver1.00.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / openssl_-_.ipynb
Created September 8, 2023 01:05
openssl_체인인증서_다운로드방법.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tae0y
tae0y / langchain_openai_faiss_chatbot_test.md
Last active May 17, 2023 17:29
langchain, opeanai, faiss를 활용한 챗봇 개념증명

langchain_openai_faiss_chatbot_test

  • langchain, opeanai, faiss를 활용한 챗봇 개념증명으로, 제 json 데이터를 llm 활용해 시멘틱 검색할 수 있습니다.
  • 아래 코드는 openai api를 사용하는데, 언어모델을 바꿔서 완전히 로컬에서 동작할 수도 있습니다 (임베딩할때 사용량이 많았는지 4.7달러 과금, 지금은 질문응답하면 2건당 0.01정도 과금)
  • 응답 예시 image

소스설명, 약간 변경한 부분

  • 질의문/프롬프트
    • 책은 컨텍스트로 제공된 것 중에서만 골라줘
@tae0y
tae0y / tcptrace.py
Last active February 17, 2023 04:03
tcptrace.py in python 310 with scapy
import sys
import scapy.all as scapy
import os
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
@tae0y
tae0y / imax-finder_v230113.js
Created January 13, 2023 13:00
imax-finder_v230113
const puppeteer = require('puppeteer');
const nodemailer = require('nodemailer');
const transporter = nodemailer.createTransport({
service: 'gmail',
auth: {
user: '<메일주소>',
pass: '<메일비밀번호 또는 앱토큰>'
}
});