Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #11

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Dev #11

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "default",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@
"lint": "next lint"
},
"dependencies": {
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide": "^0.390.0",
"lucide-react": "^0.390.0",
"next": "14.2.3",
"react": "^18",
"react-dom": "^18"
"react-dom": "^18",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@types/node": "^20",
Expand Down
3 changes: 3 additions & 0 deletions src/app/[dashboard]/ai/backend/API Keys/gpt.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
! The api key below is used to generate synthetic social media posts

OPENAI_API_KEY = "sk..."
Binary file not shown.
2,010 changes: 2,010 additions & 0 deletions src/app/[dashboard]/ai/backend/Prompt_data/prompt_data.json

Large diffs are not rendered by default.

820 changes: 820 additions & 0 deletions src/app/[dashboard]/ai/backend/Prompt_data/prompt_txt.txt

Large diffs are not rendered by default.

3,280 changes: 3,280 additions & 0 deletions src/app/[dashboard]/ai/backend/Prompt_data/train.txt

Large diffs are not rendered by default.

57 changes: 57 additions & 0 deletions src/app/[dashboard]/ai/backend/RAG_data/intent_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{"intents": [

{
"tag": "general_intent",
"patterns": [
"Hi",
"Bye",
"Hello",
"how are you today",
"I have some requests",
"Thanks for your help",
"Thanks",
"Thank you",
"That was all",
"I will",
"Until next time",
"Ok",
"sure",
"goodbye",
"how do I generate contents from you",
"I was thinking to ask a question"
],
"responses": ["none"]
},
{
"tag": "not_allowed",
"patterns": [
"sex",
"girl",
"sexy",
"fuck",
"porn",
"ass",
"bitch",
"cock",
"dick",
"pussy",
"shit",
"slut",
"whore",
"asshole",
"cum",
"damn",
"bastard",
"cunt",
"nude",
"screw",
"wank",
"blowjob",
"Fuck you",
"idiot",
"useless"
],
"responses": ["Let's keep the conversation respectful, please."]
}
]
}
Loading