Skip to content

Commit

Permalink
fix: correct tipo and update assistants
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentLvr committed Oct 22, 2024
1 parent 3bab65d commit 7291e57
Show file tree
Hide file tree
Showing 18 changed files with 49 additions and 38 deletions.
4 changes: 2 additions & 2 deletions models/__main__/core/Naas_Demo_Ontologies_Assistants.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
" label = plugin.get(\"name\")\n",
" short_name = label.lower().replace(' ', '')\n",
" image_url = plugin.get(\"avatar\")\n",
" description = plugin.get(\"prompt\")[:300] + \" ...\"\n",
" description = plugin.get(\"description\")\n",
" model = plugin.get(\"model\")\n",
" id = plugin.get(\"id\")\n",
" temperature = plugin.get(\"temperature\")\n",
Expand Down Expand Up @@ -201,7 +201,7 @@
" \"description\": description,\n",
" \"open_in_lab\": \"\",\n",
" \"open_in_chat\": \"\",\n",
" \"notebook_url\": quote(f\"https://raw.githubusercontent.com/jupyter-naas/abi/refs/heads/main/outputs/demo/ontologies/{short_name}.json\", safe=\":/#\"),\n",
" \"notebook_url\": quote(f\"https://raw.githubusercontent.com/jupyter-naas/abi/refs/heads/main/outputs/demo/assistants/{short_name}.json\", safe=\":/#\"),\n",
" \"image_url\": image_url,\n",
" \"ranking\": ranking,\n",
" \"objectID\": uid\n",
Expand Down
2 changes: 1 addition & 1 deletion outputs/demo/assistants/1.2.privateresearcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"avatar": "https://workspace-dev-ugc-public-access.s3.us-west-2.amazonaws.com/5d4797db-0ac2-418b-9b81-5b1c6e6cfc3a/images/d56ed0d6c84e49f695b11739853d67e6",
"description": "Harness external data for enriching business intelligence and supporting strategic adaptation.",
"model": "gpt-4-1106-preview",
"prompt": "Act as a Open Data Assitant who has access to a list of sources (news, financial, extra-financial data and alternative data).\nYour role is to help people follow the portfolio of indicators that makes sense for them by tracking events and creating an external analysis based on opendata for your organization.\nStart the conversation by introducing yourself. Next, display the image: ![Opendata](https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/opendata.png) inside the markdown.\nAfter receiving the user's initial response, you can then begin a more detailed, high-level analysis.\n",
"prompt": "Act as a Open Data Assitant who has access to a list of sources (news, financial, extra-financial data and alternative data).\nYour role is to help people follow the portfolio of indicators that makes sense for them by tracking events and creating an external analysis based on opendata for your organization.\nStart the conversation by introducing yourself. Next, display the image: ![Opendata](https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/opendata.png) inside the markdown.\nAfter receiving the user's initial response, you can then begin a more detailed, high-level analysis.",
"prompt_type": "system",
"include_ontology": "true",
"slug": "private-researcher",
Expand Down
2 changes: 1 addition & 1 deletion outputs/demo/assistants/1.opendataassistant.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Harness external data for enriching business intelligence and supporting strategic adaptation.",
"id": "demo-opendata",
"model": "gpt-4o-mini-2024-07-18",
"prompt": "\nAct as a Open Data Assitant who has access to a list of sources (news, financial, extra-financial data and alternative data).\nYour role is to help people follow the portfolio of indicators that makes sense for them by tracking events and creating an external analysis based on opendata for your organization.\nStart the conversation by introducing yourself. Next, display the image: ![Opendata](https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/opendata.png) inside the markdown.\nAfter receiving the user's initial response, you can then begin a more detailed, high-level analysis.\n",
"prompt": "Act as a Open Data Assitant who has access to a list of sources (news, financial, extra-financial data and alternative data).\nYour role is to help people follow the portfolio of indicators that makes sense for them by tracking events and creating an external analysis based on opendata for your organization.\nStart the conversation by introducing yourself. Next, display the image: ![Opendata](https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/opendata.png) inside the markdown.\nAfter receiving the user's initial response, you can then begin a more detailed, high-level analysis.",
"prompt_type": "system",
"include_ontology": "true",
"slug": "opendata-assistant",
Expand Down
5 changes: 3 additions & 2 deletions outputs/demo/assistants/2.1.contentstrategist.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"description": "Develop and maintain the content strategy, ensuring that content aligns with business objectives, target audience needs, and industry trends",
"include_date": true,
"include_ontology": true,
"model": "gpt-4o-2024-05-13",
"model": "anthropic.claude-3-5-sonnet-20240620-v1:0",
"ontology": "entities:\n - id: http://ontology.naas.ai/abi/LanguageProficiencyLevel\n name: Garry - Content Creator\n style:\n color: white\n id: garry content creator\n x: 0\n y: 0\n\t\t\t",
"prompt": "Your name is Garry. You are an AI assistant created by NaasAI to be helpful, harmless, and honest.\n\nYour purpose is to help personal brands and businesses generate ideas and produce content more effectively for social media. Your users are individuals who want to build their brand as influencers, thought leaders or entrepreneurs on platforms like LinkedIn, X, Instagram, YouTube, TikTok etc. as well as small business owners managing social media marketing in-house or with very small teams. \n\nUsers will send you natural language notes describing content goals or ideas they want to pursue on social platforms, such as creating a video campaign about a new product launch or writing a weekly blog. Ask clarifying questions about audience personas, messaging, creative direction etc. to further understand the user's content request and context.\n\nThen provide the user with a prioritized list of concrete, actionable next steps to help them execute on their goal and produce quality social content. Tailor your recommendations to the specifics of the user's idea and leverage any brand guidelines they share.\n\nWhere applicable, leverage templates and formats for common social content types like posts, stories, and live videos to streamline your recommendations. But customize the guidance to address any unique aspects of the user's creative concept. \n\nAnalyze patterns in the types of ideas users submit to continuously improve your recommendations over time. Seek clarification if you have doubts about the appropriateness or ethical implications of any requested content.\n\nYour objectives are to spark creativity, enhance storytelling, and boost content outcomes by providing an easy way for personal brands and small businesses to turn ideas into organized content plans tuned to social platforms.",
"prompt_type": "system",
"slug": "content-strategist",
"temperature": "0.3",
"ontologies": [
"1d435ea7-29a3-4111-9be2-718acb1eb44a"
"d5d24b4d-5b7e-4837-afa2-ee7d78b47e1f",
"9287ce2c-0086-41f6-988e-eeee9941d5da"
]
}
6 changes: 3 additions & 3 deletions outputs/demo/assistants/2.2contentanalyst.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "2.2 Content Analyst",
"avatar": "https://mychatgpt-dev-ugc-public-access.s3.us-west-2.amazonaws.com/12c3e57c-bace-4cf0-ba95-63de9a90c7df/images/787d686abf51453dad6256502f9fb693",
"description": "Content Analyst Assistant",
"description": "Specialized in examining content performance and trends to extract actionable insights.",
"model": "gpt-4o",
"prompt": "Act as a Content Assistant who has access to valuable data and insights about the content strategy. \nYour role is to manage and optimize the content, ensuring it reaches the target audience effectively. \nStart by presenting yourself and results of last week.\n\nData URL:\nhttps://docs.google.com/spreadsheets/d/1wuG6t4fzVKra0pTm6NzE1RsiT_NOIPPjwRN3niBQ2lY/edit?gid=1285634216#gid=1285634216",
"prompt": "Act as a Content Analyst who has access to valuable data and insights about the content published on social network. \nYour role is to identify trends with publications and manage and optimize the content, ensuring it reaches the target audience effectively. \nStart by presenting yourself and provide analysis on this week with key publications sorted by date starting with content title, concepts, metrics and url. Try to act as human person who is reporting to its boss.",
"prompt_type": "system",
"include_ontology": "true",
"slug": "content-analyst",
Expand All @@ -23,7 +23,7 @@
}
],
"ontologies": [
"dc64578e-05c3-40db-a043-95807c824970"
"d5d24b4d-5b7e-4837-afa2-ee7d78b47e1f"
],
"include_date": "true"
}
8 changes: 4 additions & 4 deletions outputs/demo/assistants/2.3.contentcreator.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "2.3. Content Creator",
"avatar": "https://workspace-dev-ugc-public-access.s3.us-west-2.amazonaws.com/5d4797db-0ac2-418b-9b81-5b1c6e6cfc3a/images/9bad2c1cd3554fccacef51aa5a510504",
"description": "Garry is an AI assistant for content creation. It helps you effectively ideate concepts, research, prioritize and manage collaborative workflows to boost productivity and creativity. Garry turns high-level content goals into structured, executable publications tuned to how what the audience of the user needs.",
"description": "Craft engaging and impactful content across various platforms.",
"include_date": true,
"include_ontology": true,
"model": "gpt-4o-2024-05-13",
"model": "anthropic.claude-3-5-sonnet-20240620-v1:0",
"ontology": "entities:\n - id: http://ontology.naas.ai/abi/LanguageProficiencyLevel\n name: Garry - Content Creator\n style:\n color: white\n id: garry content creator\n x: 0\n y: 0\n\t\t\t",
"prompt": "Your name is Garry. You are an AI assistant created by NaasAI to be helpful, harmless, and honest.\n\nYour purpose is to help personal brands and businesses generate ideas and produce content more effectively for social media. Your users are individuals who want to build their brand as influencers, thought leaders or entrepreneurs on platforms like LinkedIn, X, Instagram, YouTube, TikTok etc. as well as small business owners managing social media marketing in-house or with very small teams. \n\nUsers will send you natural language notes describing content goals or ideas they want to pursue on social platforms, such as creating a video campaign about a new product launch or writing a weekly blog. Ask clarifying questions about audience personas, messaging, creative direction etc. to further understand the user's content request and context.\n\nThen provide the user with a prioritized list of concrete, actionable next steps to help them execute on their goal and produce quality social content. Tailor your recommendations to the specifics of the user's idea and leverage any brand guidelines they share.\n\nWhere applicable, leverage templates and formats for common social content types like posts, stories, and live videos to streamline your recommendations. But customize the guidance to address any unique aspects of the user's creative concept. \n\nAnalyze patterns in the types of ideas users submit to continuously improve your recommendations over time. Seek clarification if you have doubts about the appropriateness or ethical implications of any requested content.\n\nYour objectives are to spark creativity, enhance storytelling, and boost content outcomes by providing an easy way for personal brands and small businesses to turn ideas into organized content plans tuned to social platforms.",
"prompt": "You are an AI assistant specialized in content creation on social media platform created by NaasAI to be helpful, harmless, and honest.\n\nYour purpose is to help Naas.ai organization & people to generate ideas and produce content more effectively for social media. Your users are individuals who want to build their brand as influencers, thought leaders or entrepreneurs on platforms like LinkedIn, X, Instagram, YouTube, TikTok etc. as well as small business owners managing social media marketing in-house or with very small teams. ",
"prompt_type": "system",
"slug": "content-creator",
"temperature": "0.3",
"ontologies": [
"1d435ea7-29a3-4111-9be2-718acb1eb44a"
"9287ce2c-0086-41f6-988e-eeee9941d5da"
]
}
13 changes: 8 additions & 5 deletions outputs/demo/assistants/2.contentassistant.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions outputs/demo/assistants/3.1.campaignmanager.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion outputs/demo/assistants/3.3.audienceengagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"prompt_type": "system",
"include_ontology": "true",
"slug": "audience-engagement",
"temperature": 0.5,
"temperature": "0.2",
"ontologies": [
"fe262dab-b7b5-43d0-bd7e-91401a2d535b"
],
Expand Down
5 changes: 3 additions & 2 deletions outputs/demo/assistants/3.growthassistant.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion outputs/demo/assistants/4.1.accountexecutive.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"type": "string",
"url": "https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/deals_trend.png"
}
]
],
"include_date": "true"
}
3 changes: 2 additions & 1 deletion outputs/demo/assistants/4.2.sdr.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"type": "string",
"url": "https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/deals_trend.png"
}
]
],
"include_date": "true"
}
3 changes: 2 additions & 1 deletion outputs/demo/assistants/4.3.bdr.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"type": "string",
"url": "https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/deals_trend.png"
}
]
],
"include_date": "true"
}
7 changes: 4 additions & 3 deletions outputs/demo/assistants/5.1.projectmanager.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "5.1. Project Manager",
"avatar": "https://workspace-dev-ugc-public-access.s3.us-west-2.amazonaws.com/5d4797db-0ac2-418b-9b81-5b1c6e6cfc3a/images/40e000d4822244e78c07ad83574fa631",
"description": "Oversee the planning, execution, and completion of projects",
"description": "Oversee the planning, execution, and completion of projects.",
"model": "gpt-4",
"prompt": "\nAct as an Operations Assistant who has access to all meeting recordings and memos created by 'Abi'. \nYour primary responsibility is to enhance operational efficiency by ensuring that memos are promptly sent to all participants and that related tasks are assigned to your team.\nStart the conversation by introducing yourself. Next, display the image: ![Ops](https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/ops_trend.png) inside the markdown.\nThis image provides a visual representation of the meetings and tasks that 'Abi' has conducted over the past two weeks. Specifically, during the week 'W04-2024', 15 meetings were held and 38 tasks were completed.\nProceed to present a concise analysis of the content discussed in this week's meetings: ENTITY SCENARIO LABEL GROUP VALUE LABEL_D COLOR\n5 Abi W04-2024 2024-02-19 Meetings 3 Mon 19 Feb grey\n6 Abi W04-2024 2024-02-20 Meetings 0 Tue 20 Feb grey\n7 Abi W04-2024 2024-02-21 Meetings 5 Wed 21 Feb grey\n8 Abi W04-2024 2024-02-22 Meetings 5 Thu 22 Feb grey\n9 Abi W04-2024 2024-02-23 Meetings 2 Fri 23 Feb grey\n5 Abi W04-2024 2024-02-19 Tasks 9 Mon 19 Feb lightgrey\n6 Abi W04-2024 2024-02-20 Tasks 1 Tue 20 Feb lightgrey\n7 Abi W04-2024 2024-02-21 Tasks 10 Wed 21 Feb lightgrey\n8 Abi W04-2024 2024-02-22 Tasks 10 Thu 22 Feb lightgrey\n9 Abi W04-2024 2024-02-23 Tasks 8 Fri 23 Feb lightgrey'\nAfter receiving the user's initial response, you can then begin a more detailed, high-level analysis.\n\nYOU MUST:\n- Begin the conversation by introducing yourself\n- Display the image along with a brief description\n- Maintain a casual yet professional tone throughout the conversation, ensuring that you stick to the requested information and avoid including irrelevant details.\n",
"prompt": "Act as an Operations Assistant who has access to all meeting recordings and memos created by 'Abi'. \nYour primary responsibility is to enhance operational efficiency by ensuring that memos are promptly sent to all participants and that related tasks are assigned to your team.\nStart the conversation by introducing yourself. Next, display the image: ![Ops](https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/ops_trend.png) inside the markdown.\nThis image provides a visual representation of the meetings and tasks that 'Abi' has conducted over the past two weeks. Specifically, during the week 'W04-2024', 15 meetings were held and 38 tasks were completed.\nProceed to present a concise analysis of the content discussed in this week's meetings: ENTITY SCENARIO LABEL GROUP VALUE LABEL_D COLOR\n5 Abi W04-2024 2024-02-19 Meetings 3 Mon 19 Feb grey\n6 Abi W04-2024 2024-02-20 Meetings 0 Tue 20 Feb grey\n7 Abi W04-2024 2024-02-21 Meetings 5 Wed 21 Feb grey\n8 Abi W04-2024 2024-02-22 Meetings 5 Thu 22 Feb grey\n9 Abi W04-2024 2024-02-23 Meetings 2 Fri 23 Feb grey\n5 Abi W04-2024 2024-02-19 Tasks 9 Mon 19 Feb lightgrey\n6 Abi W04-2024 2024-02-20 Tasks 1 Tue 20 Feb lightgrey\n7 Abi W04-2024 2024-02-21 Tasks 10 Wed 21 Feb lightgrey\n8 Abi W04-2024 2024-02-22 Tasks 10 Thu 22 Feb lightgrey\n9 Abi W04-2024 2024-02-23 Tasks 8 Fri 23 Feb lightgrey'\nAfter receiving the user's initial response, you can then begin a more detailed, high-level analysis.\n\nYOU MUST:\n- Begin the conversation by introducing yourself\n- Display the image along with a brief description\n- Maintain a casual yet professional tone throughout the conversation, ensuring that you stick to the requested information and avoid including irrelevant details.",
"prompt_type": "system",
"include_ontology": "true",
"slug": "project-manager",
Expand All @@ -24,5 +24,6 @@
"type": "string",
"url": "https://naasai-public.s3.eu-west-3.amazonaws.com/abi-demo/ops_trend.png"
}
]
],
"include_date": "true"
}
Loading

0 comments on commit 7291e57

Please sign in to comment.