Skip to content

Commit

Permalink
resolved import typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emcf committed Jul 5, 2024
1 parent 8952f8c commit c574b33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_image_to_base64(self):

def test_chunks_to_messages(self):
chunks = scraper.scrape_file(source=self.files_directory+"/example.md", local=True)
messages = core.chunks_to_messsages(chunks)
messages = core.chunks_to_messages(chunks)
self.assertEqual(type(messages), list)
for message in messages:
self.assertEqual(type(message), dict)
Expand Down
2 changes: 1 addition & 1 deletion thepipe_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .scraper import scrape_file, scrape_url, scrape_directory
from .chunker import chunk_by_page, chunk_by_section, chunk_semantic
from .core import Chunk, calculate_tokens, chunks_to_messsages
from .core import Chunk, calculate_tokens, chunks_to_messages
from .thepipe import extract # deprecated

0 comments on commit c574b33

Please sign in to comment.