finished rag chatbot

This commit is contained in:
ronny abraham 2025-07-22 02:19:20 +03:00
parent 281d164e37
commit 247b8e1e88
9 changed files with 115 additions and 10 deletions

Binary file not shown.

View file

@ -0,0 +1,33 @@
#+title: Autoduel faq
* Frequently Asked Questions
** What is Steelcore Arena™?
Steelcore Arena™ is the premier autoduel combat league where drivers pit custom-engineered vehicles against each other in high-speed, weaponized arenas for fame, sponsorship, and survival.
** Is this legal?
In most Free Zones, yes. Steelcore Arena™ operates under the Autonomous Combat Sports Accord (ACSA) and adheres to all jurisdictional combat licensing requirements. Outside the Accord... well, you're on your own.
** Can anyone compete?
Applicants must be at least 21 years old, possess a valid combat driver license (CDL), and pass psychometric resilience screening. Sponsorship from a certified guild or manufacturer is recommended but not required.
** How do I build a duel-ready vehicle?
You can build from scratch or modify an existing chassis. All vehicles must pass Steelcores compliance inspection: weight limits, power caps, and weapons-grade restrictions (see the Rulebook, Section 4.2.7).
** What weapons are allowed?
Blades, spike launchers, grav mines, flamers, EMP nets, and low-yield kinetic railguns are permitted in Tier 13 brackets. No energy disintegrators, neural scramblers, or orbital support unless pre-approved.
** How do eliminations work?
Matches continue until a vehicle is disabled, its driver submits, or the referee drone declares a winner. Incapacitated drivers are extracted by Steelcore MedEvac (if insurance was purchased).
** Can I watch live?
Absolutely. Steelcore Arena™ matches are broadcast across all major NetSims and freecast on channel 117. Premium VR seats include biometric sync and full-cockpit immersion.
** What happens if I die?
Your winnings (if any) will be distributed according to your signed Last Wager Contract. Steelcore Arena™ is not responsible for lost bets, vaporized remains, or unauthorized posthumous clones.
** How do I bet?
Use the Steelcore App, available on all neural-band devices. Wagers must be placed before ignition. Insider betting is punishable by termination (with prejudice).
** Where can I read the full rules?
Download the official Rulebook at `steelcore.arena/rules` or request a printed copy from any sanctioned dome kiosk. Updates posted weekly.Autoduel Faq

View file

@ -0,0 +1 @@
{"web":{"client_id":"212317400169-i0mc8cr74o0vbds6t1ticp2kbbn1ttp1.apps.googleusercontent.com","project_id":"herk-build8h-e01-ragchat","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"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","redirect_uris":["https://n8n.ronnyabraham.com/rest/oauth2-credential/callback"]}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 KiB

View file

@ -8,7 +8,7 @@
- [[../toc.org][TOC | Build n8n ai agents 8 hr course]] - [[../toc.org][TOC | Build n8n ai agents 8 hr course]]
- [[https://www.youtube.com/watch?v=Ey18PDiaAYI][Course Video]] - [[https://www.youtube.com/watch?v=Ey18PDiaAYI][Course Video]]
Curr: https://youtu.be/Ey18PDiaAYI?si=OFqJ3CX3m2AHLWdV&t=3270 Curr: https://youtu.be/Ey18PDiaAYI?si=7I_ZldvVJP_fuPJy&t=4264
*** timestamps *** timestamps
:PROPERTIES: :PROPERTIES:
@ -20,7 +20,7 @@ Curr: https://youtu.be/Ey18PDiaAYI?si=OFqJ3CX3m2AHLWdV&t=3270
- [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=2905s][0:48:25 23 Workflow Templates FREE]] - [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=2905s][0:48:25 23 Workflow Templates FREE]]
- [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=2949s][0:49:09 Step by Step AI Workflows]] - [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=2949s][0:49:09 Step by Step AI Workflows]]
- [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=3085s][0:51:25 1) Rag Pipeline and Chatbot]] - [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=3085s][0:51:25 1) Rag Pipeline and Chatbot]]
- [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=4262s][1:11:02 2) Customer Support Workflow]] - [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=4262s][1:11:02 2) Customer Support Workflow]] *current*
- [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=4926s][1:22:06 3) LinkedIn Content Creator Workflow]] - [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=4926s][1:22:06 3) LinkedIn Content Creator Workflow]]
* Notes * Notes
@ -84,5 +84,66 @@ Curr: https://youtu.be/Ey18PDiaAYI?si=OFqJ3CX3m2AHLWdV&t=3270
*** process *** process
- our trigger is any changes in folder on google drive - our trigger is any changes in folder on google drive
**** get Google Drive Credentials *** get Google Drive Credentials
***** create OAuth credentials **** create OAuth credentials
***** Create New Credentials
***** open "open docs" at the top of the dialogue
- this will take you to https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modal
***** scroll down past "Prerequisites" and click "Create a Google Cloud account https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/?utm_source=n8n_app&utm_medium=credential_settings&utm_campaign=create_new_credentials_modalt"
***** create a new account
1.
#+attr_html: :width 600
file:../../_share/media/img/compsci/ai/herk/build_8hr/ch03_e01a.png
2. add a new project
#+attr_html: :width 600
file:../../_share/media/img/compsci/ai/herk/build_8hr/ch03_e01b.png
3. click on new project
#+attr_html: :width 600
file:../../_share/media/img/compsci/ai/herk/build_8hr/ch03_e01c.png
- select the new project
4. go to Enabled API's and services
1. go to three lines in upper left and side
2. click on enables API's and Services
3. in the search bar add "google drive"
4. enable it
5. set up OAuth consent screen
1. lets google and n8n knkow they have permission to talk to each other
#+attr_html: :width 600
file:../../_share/media/img/compsci/ai/herk/build_8hr/ch03_e01d.png
2. click on "Get Started"
- app name :: build8h-e01-ragchat
- user support email :: this.ronny@gmail.com
3. under Overview - Audience, select External (using gmail account for testing)
******* add Test users
- Audence -> Test users
******* Create OAuth client ID
- Clients -> name
- build8h-e01-ragchat-web-client-1
- add OAuth Redirect URL to Authorized redirect URIs
****** OAuth client
- client ID :: ~212317400169-i0mc8cr74o0vbds6t1ticp2kbbn1ttp1.apps.googleusercontent.com~
- client secret :: ~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~
file:../../_share/data/compsci/ai/herk/client_secret_212317400169-i0mc8cr74o0vbds6t1ticp2kbbn1ttp1.apps.googleusercontent.com.json
***** set folder
- save and exit the config dialog
- go to google drive trigger, and select the folder
*** set up pinecone
- got to http://pinecone.io

View file

@ -53,6 +53,22 @@ Curr: https://youtu.be/Ey18PDiaAYI?si=OFqJ3CX3m2AHLWdV&t=3270
- [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=27905s][7:45:05 Lessons from 6 Months of Building Agents]] - [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=27905s][7:45:05 Lessons from 6 Months of Building Agents]]
- [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=30336s][8:25:36 If You Made it Here, You Rock]] - [[https://www.youtube.com/watch?v=Ey18PDiaAYI&t=30336s][8:25:36 If You Made it Here, You Rock]]
* Credentials
- openai
- api key :: ~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~
- build8h-e01-ragchat :: ~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~
- pinecone
- link
- user name :: this.ronny@gmail.com
- default :: ~pcsk_4tyRo8_85rmFfjU55x4nTv3nNLySbKodB9Tj2haPrzmK99FuiVkePRPd7856Jth5RkdgKe~
- build8h-e01-ragchat :: ~pcsk_57eDib_9PWSM7zq2TK9ehzG3nn3LZu594DvNud9RKQ2mKBXkdukimm8mz7tzXxSh8zu1tJ~
- openrouter
- link :: https://openrouter.ai
- build8h-e01-ragchat :: ~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~
* Contents Overview * Contents Overview
#+attr_html: :class contents-overview #+attr_html: :class contents-overview
- [[./_subsections/lesson-01.org][Lesson 01 | Course Agenda, what is an agent]] - [[./_subsections/lesson-01.org][Lesson 01 | Course Agenda, what is an agent]]
@ -60,9 +76,3 @@ Curr: https://youtu.be/Ey18PDiaAYI?si=OFqJ3CX3m2AHLWdV&t=3270
- [[./_subsections/lesson-03.org][Lesson 03 | data types]] - [[./_subsections/lesson-03.org][Lesson 03 | data types]]
* Credentials
| service | keys |
|---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| openai | ~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~ |
| | |