-
Notifications
You must be signed in to change notification settings - Fork 930
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #447 from julep-ai/dev-tasks-disable-routes
- Loading branch information
Showing
594 changed files
with
26,084 additions
and
27,016 deletions.
There are no files selected for viewing
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
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
python 3.10.13 | ||
python 3.11.9 |
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 |
---|---|---|
@@ -1,14 +1,5 @@ | ||
""" | ||
The `activities` module within the agents-api package is designed to facilitate various activities related to agent interactions. This includes handling memory management, generating insights from dialogues, summarizing relationships, and more. Each file within the module offers specific functionality: | ||
- `co_density.py`: Conducts cognitive density analysis to generate concise, entity-dense summaries. | ||
- `demo.py`: Provides a simple demonstration of defining an activity with Temporal. | ||
- `dialog_insights.py`: Extracts insights from dialogues, identifying details that participants might find interesting. | ||
- `mem_mgmt.py`: Manages memory by updating and incorporating new personality information from dialogues. | ||
- `mem_rating.py`: Rates memories based on their poignancy and importance. | ||
- `relationship_summary.py`: Summarizes the relationship between individuals based on provided statements. | ||
- `salient_questions.py`: Identifies salient questions from a set of statements. | ||
- `summarization.py`: Summarizes dialogues and updates memory based on the conversation context. | ||
The `activities` module within the agents-api package is designed to facilitate various activities related to agent interactions. This includes handling memory management, generating insights from dialogues, summarizing relationships, and more. | ||
This module plays a crucial role in enhancing the capabilities of agents by providing them with the tools to understand and process information more effectively. | ||
""" |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,10 +1,19 @@ | ||
#!/usr/bin/env python3 | ||
from typing import Callable | ||
|
||
from temporalio import activity | ||
|
||
from ..env import testing | ||
|
||
@activity.defn | ||
async def say_hello(name: str) -> str: | ||
message = f"Hello, {name}!" | ||
print(message) | ||
return message | ||
|
||
async def demo_activity(a: int, b: int) -> int: | ||
# Should throw an error if testing is not enabled | ||
raise Exception("This should not be called in production") | ||
|
||
|
||
async def mock_demo_activity(a: int, b: int) -> int: | ||
return a + b | ||
|
||
|
||
demo_activity: Callable[[int, int], int] = activity.defn(name="demo_activity")( | ||
demo_activity if not testing else mock_demo_activity | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.