-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add curated_topic.py to llm interface
- Loading branch information
1 parent
ce0ce92
commit bba5c9f
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
app/llm_interface/sefaria_llm_interface/topic_source_curation/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from curated_topic import * |
8 changes: 8 additions & 0 deletions
8
app/llm_interface/sefaria_llm_interface/topic_source_curation/curated_topic.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from dataclasses import dataclass | ||
from sefaria_llm_interface.common.topic import Topic | ||
from sefaria_llm_interface.topic_prompt import TopicPromptSource | ||
|
||
@dataclass | ||
class CuratedTopic: | ||
topic: Topic | ||
sources: list[TopicPromptSource] |