Tonic commited on
Commit
02b0a0d
1 Parent(s): 1b5413e

add sentence splitter

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ phi2 = pipeline(
24
  # DSPy-based prompt generation
25
  # from dspy import Agent
26
  # from dspy import spawn_processes
27
- from dspy.utils import SentenceSplitter, SentimentAnalyzer, NamedEntityRecognizer
28
 
29
  def dspy_generate_agent_prompts(prompt):
30
  """
 
24
  # DSPy-based prompt generation
25
  # from dspy import Agent
26
  # from dspy import spawn_processes
27
+ from sentence_splitter import SentenceSplitter, SentimentAnalyzer, NamedEntityRecognizer
28
 
29
  def dspy_generate_agent_prompts(prompt):
30
  """