add sentence splitter
#2
by
Tonic
- opened
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
|
| 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 |
"""
|