You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Sample-Genai.md
+16-19Lines changed: 16 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
-
!!! pied-piper ":bulb: TL;DR - GenAI leverages AI and Microservice Automation for 'hands-free' project creation"
1
+
!!! pied-piper ":bulb: TL;DR - GenAI leverages AI and Microservice Automation for project creation"
2
2
3
-
To create projects, the system (either WebGenAI or API Logic Server CLI - for more information, [click here](https://apilogicserver.github.io/Docs/Architecture-What-Is/){:target="_blank" rel="noopener"}) performs the following:
3
+
To create projects, the system (either the WebGenAI web app, or API Logic Server CLI) performs the following:
4
4
5
-
1. Uses ChatGPT APIs to submit prompts and obtain data model class responses
5
+
1. Uses ChatGPT APIs to submit prompts and obtain data model class responses
6
6
7
7
2. It then uses these to create a database and project
8
8
9
9
This document presumes you have already created the project, and are using VSCode or GitHub to explore it. It illustrates how to run and customize the genai_demo project.
10
10
11
-
> Note: if you *not* already created the project, proceed to [the Appendix](#creating-genai_demo)
12
-
11
+
> Note: if you have *not* already created the project, proceed to the Appendix ("Creating GenAI Demo").
12
+
13
13
14
14
15
15
@@ -51,8 +51,8 @@ is sent to ChatGPT to create a schema. This schema is then processed by als to
51
51
and run a project that provides a JSON:API, a Web App, a database, and
52
52
business logic that runs in the API.
53
53
54
-
For more information, [see below](#how-does-it-work). For more information on the architecture,
It's a modern, 3-tiered architecture, using standard Python libraries. For more information, [click here - slide 2](https://www.genai-logic.com/architecture).
73
+
It's a modern, 3-tiered architecture, using standard Python libraries. For more information, see slide 2: https://www.genai-logic.com/architecture.
74
74
75
75
76
76
@@ -122,7 +122,7 @@ Set a breakpoint in the code above, and:
122
122
3. To test the new endpoint, use Swagger (**ServicesEndPoint > POST /ServicesEndPoint/OrderB2B)**.
123
123
* Observe the swagger response - "Sending Order to Shipping sends:".
124
124
125
-
Note: Kafka is not activated in this example. To explore a running Tutorial for application integration with running Kafka, [click here](Sample-Integration.md){:target="_blank" rel="noopener"}.
125
+
Note: Kafka is not activated in this example. To explore a running Tutorial for application integration with running Kafka, see: https://apilogicserver.github.io/Docs/Sample-Integration.
126
126
127
127
128
128
@@ -132,7 +132,7 @@ One of the best ways to de-risk projects is to verify the sponsors are in sync w
132
132
133
133
GenAI Automation produces *working software, now*, so you can find misunderstandings before investing serious effort ("fail fast"). To expose the working software, it's often desirable to deploy to the cloud so business users can run it.
134
134
135
-
API Logic Server creates the `devops` directory, which scripts to containerize your project, and deploy it to Azure. For more information, see [DevOps Automation](https://apilogicserver.github.io/Docs/DevOps-Automation/){:target="_blank" rel="noopener"}.
135
+
API Logic Server creates the `devops` directory, which scripts to containerize your project, and deploy it to Azure. For more information, see DevOps Automation: https://apilogicserver.github.io/Docs/DevOps-Automation/.
136
136
137
137
138
138
@@ -190,7 +190,7 @@ A good technique is to:
190
190
191
191
It's usage create the sqlite database, but running it in this mode can provide more insight into causes.
192
192
193
-
If you are using [Web/GenAI](WebGenAI.md){:target="_blank" rel="noopener"}, project files are always under /projects/gen_$ID.
193
+
If you are using Web/GenAI (see: https://apilogicserver.github.io/Docs/WebGenAI/), project files are always under /projects/gen_$ID.
194
194
195
195
196
196
@@ -200,20 +200,17 @@ If you are using [Web/GenAI](WebGenAI.md){:target="_blank" rel="noopener"}, proj
200
200
201
201

To create a microservice, identify an existing database, or provide a natural language "prompt" description.
215
212
216
-
You can explore genai_demo using the [Manager](https://apilogicserver.github.io/Docs/Manager/){:target="_blank" rel="noopener"}. Optionally, you can sign-up for ChatGPT API and Copilot, or simulate the process as described below.
213
+
You can explore genai_demo using the Managerhttps://apilogicserver.github.io/Docs/Manager/. Optionally, you can sign-up for ChatGPT API and Copilot, or simulate the process as described below.
217
214
218
215
1. If you have signed up for ChatGPT API and Copilot, this command will create and open a project called `genai_demo` from `system/genai/examples/genai_demo/genai_demo.prompt`:
219
216
@@ -280,7 +277,7 @@ The above examples use *sqlite,* since it requires no install. The GenAI proces
280
277
281
278
You can test this as follows:
282
279
283
-
1. Use [our docker image](https://apilogicserver.github.io/Docs/Database-Docker/){:target="_blank" rel="noopener"}
280
+
1. Use our docker image: https://apilogicserver.github.io/Docs/Database-Docker/
0 commit comments