Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yoomlam committed May 28, 2024
1 parent d7be2d3 commit bf85236
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions 05-assistive-chatbot/chatbot/ingest/text_splitter.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import logging

from langchain.docstore.document import Document
from langchain_text_splitters import (NLTKTextSplitter,
RecursiveCharacterTextSplitter,
SpacyTextSplitter)
from langchain_text_splitters import NLTKTextSplitter, RecursiveCharacterTextSplitter, SpacyTextSplitter

logger = logging.getLogger(__name__)

Expand Down
3 changes: 1 addition & 2 deletions 05-assistive-chatbot/ingest-guru-cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
from typing import Callable

import dotenv
from langchain_community.embeddings import (HuggingFaceEmbeddings,
SentenceTransformerEmbeddings)
from langchain_community.embeddings import HuggingFaceEmbeddings, SentenceTransformerEmbeddings
from langchain_community.vectorstores import Chroma

import chatbot
Expand Down
3 changes: 3 additions & 0 deletions 05-assistive-chatbot/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[tool.ruff]
line-length = 120

[tool.isort]
line_length = 120

0 comments on commit bf85236

Please sign in to comment.