-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update feature branch with master (#64)
- Loading branch information
Showing
17 changed files
with
589 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
dev-local-pip: init-env install-agentc-pip post-install | ||
dev-local-poetry: init-env install-agentc-poetry post-install | ||
|
||
# To install agentc in any project, given that the clone | ||
# of agent-catalog and project directory have common parent | ||
AGENT_CATALOG_LIBS = ../agent-catalog/libs | ||
|
||
init-env: | ||
@echo "----Creating Conda Environment----" | ||
conda create -n $(or $(env_name),agentc_env) python=3.12 -y | ||
|
||
install-agentc-pip: | ||
@echo "----Installing Agentc----" | ||
@echo "This may take some time..." | ||
conda run -n $(or $(env_name),agentc_env) bash -c "\ | ||
pip install $(AGENT_CATALOG_LIBS)/agentc && \ | ||
pip install $(AGENT_CATALOG_LIBS)/agentc_langchain && \ | ||
echo '' && \ | ||
echo '----Verifying Installation----' && \ | ||
pip list | grep agentc && \ | ||
echo '' && \ | ||
echo '----agentc Usage----' && \ | ||
agentc --help" | ||
|
||
install-agentc-poetry: | ||
@echo "----Installing Agentc----" | ||
@echo "This may take some time..." | ||
conda run -n $(or $(env_name),agentc_env) bash -c "\ | ||
poetry install && \ | ||
echo '' && \ | ||
echo '----Verifying Installation----' && \ | ||
pip list | grep agentc && \ | ||
echo '' && \ | ||
echo '----agentc Usage----' && \ | ||
agentc --help" | ||
|
||
post-install: | ||
@echo "Note: Please run 'conda deactivate', followed by 'conda activate $(or $(env_name),agentc_env)' to activate your python env and run agentc commands" |
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
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
4 changes: 2 additions & 2 deletions
4
libs/agentc_core/agentc_core/analytics/ddls/last_session.sqlpp
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
11 changes: 11 additions & 0 deletions
11
libs/agentc_core/agentc_core/analytics/ddls/llm_generations.sqlpp
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,11 @@ | ||
CREATE OR REPLACE ANALYTICS VIEW `[BUCKET_NAME]`.`[SCOPE_NAME]`.LLMGenerations AS | ||
SELECT | ||
session, | ||
grouping_id, | ||
( FROM g gi SELECT VALUE gi.rl ) AS generation | ||
FROM | ||
`[BUCKET_NAME]`.`[SCOPE_NAME]`.`[LOG_COLLECTION_NAME]` AS rl | ||
GROUP BY | ||
rl.session AS session, | ||
rl.`grouping` AS grouping_id | ||
GROUP AS g; |
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
Oops, something went wrong.