Skip to content

Commit

Permalink
Decompose split into split and gather
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyashankar committed Aug 22, 2024
1 parent de0c22f commit 0871456
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions motion/operations/gather.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Dict, List, Tuple

from motion.operations.base import BaseOperation


Expand Down
3 changes: 1 addition & 2 deletions motion/operations/resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import jinja2
from jinja2 import Template
from litellm import completion_cost
from litellm import completion_cost, embedding
from sklearn.metrics.pairwise import cosine_similarity

from motion.operations.base import BaseOperation
Expand All @@ -18,7 +18,6 @@
rich_as_completed,
validate_output,
)
from litellm import embedding


def compare_pair(
Expand Down
1 change: 1 addition & 0 deletions motion/operations/split.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from typing import Dict, List, Tuple

import tiktoken

from motion.operations.base import BaseOperation


Expand Down

0 comments on commit 0871456

Please sign in to comment.