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: askme/README.md
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,50 @@ AskME is a suite of features designed to empower users to maximize the potential
13
13
14
14
5. Knowledge Base Management: Users can create and delete the vector tables.
15
15
16
-
## Getting Started
16
+
## Prerequisite
17
17
18
18
You must have an OCI account. [Click here](https://docs.oracle.com/en/cloud/paas/content-cloud/administer/create-and-activate-oracle-cloud-account.html) for more information about Oracle Cloud account creation and activation. Free-tier accounts are currently not supported for the deployment of AskME resources.
19
19
20
20
There are required OCI resources (see the [Terraform documentation](./terraform/README.md) for more information) that are needed for this tutorial.
21
21
22
+
## Getting Started: answer questions using your documents
23
+
24
+
### Create a vector table
25
+
26
+
In the AskME app, it is easy to use your documents to create a new vector table.
27
+
28
+
<divstyle="text-align: center;" >
29
+
<img src="assets/askme_kb_interface.png" alt="AskME Knowledge Base interface" width="72%" >
30
+
</div>
31
+
32
+
From the `Knowledge Base Management` tab (<spanstyle="color:red">**1**</span>), under `Create Vector Table` (<spanstyle="color:red">**2**</span>), you can choose to upload one or more documents to AskME (<spanstyle="color:red">**3**</span>):
33
+
- Here is a sample document you can download and use for that purpose: [Onboarding Checklist for New Hires at Nexus Innovations.pdf](./assets/Onboarding%20Checklist%20for%20New%20Hires%20at%20Nexus%20Innovations.pdf)<br />
34
+
- Feel free to use your own documents to try the vector table creation.
35
+
36
+
After having browsed and selected the relevant files, you can change the vector table name if the default one does not match your needs (<spanstyle="color:red">**4**</span>).<br />
37
+
This name will be used to identify the vector table, and may correspond to the common denominator of all selected files.
38
+
39
+
Then click on the `Upload` button to start the vector table creation process (<spanstyle="color:red">**5**</span>).<br />
40
+
For the sample document provided earlier, this process should take 30-60 seconds. It may take several minutes if multiple files/bigger files are selected.
41
+
42
+
Once the vector table has been created, a green message is displayed, explaining that the table creation was successful, and the new table name should be added to the `Selected Vector Tables` list (<spanstyle="color:red">**6**</span>).
43
+
<br />
44
+
45
+
### Use the vector table to answer questions
46
+
47
+
Any existing vector table can be used in AskME to generate an accurate answer, with references to the original documents.
From the `Free-style Answer` tab (<spanstyle="color:red">**1**</span>), you can enter your question in the input field (<spanstyle="color:red">**3**</span>).<br />
54
+
Here, we choose to ask a question related to the sample document uploaded in the previous section: *What are the onboarding steps for new hires at Nexus Innovation?*
55
+
56
+
Please make sure that all vector tables needed for the question are selected in the Knowledge Base Selection area (<spanstyle="color:red">**2**</span>), and then you can click on the `Answer Question` button (<spanstyle="color:red">**4**</span>).
57
+
58
+
The answer should appear under the `Answer Question` button after a few seconds, followed by a clickable list of document references that have been used to generate the answer.
59
+
22
60
## Contributing
23
61
24
62
This project is open source. Please submit your contributions by forking this repository and submitting a pull request! Oracle appreciates any contributions that are made by the open source community.
Copy file name to clipboardExpand all lines: askme/terraform/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
# Deploy AskME resources with terraform
4
4
5
-
This section explains how to deploy AskME in your tenancy, using the OCI Cloud Shell and terraform. The following resources are created during the process:
5
+
This section explains how to deploy AskME in your tenancy, using the OCI Cloud Shell and terraform. The following resources are automatically created during the process:
6
6
- A dynamic group and a policy in the root compartment
7
7
- A Compartment for the AskME resources
8
8
- An Object Storage bucket containing two documents
@@ -21,6 +21,8 @@ You need to have the [Administrator role](https://docs.oracle.com/en-us/iaas/Con
## Step 4: Change directory to the terraform folder
43
41
Command:
44
42
```
@@ -76,6 +74,8 @@ Set of IPv4 addresses (CIDR notation) allowed to connect to the compute instance
76
74
77
75
The CIDR notation follows the format: `a.b.c.d/e` where `a`, `b`, `c` and `d` are numbers between 0 and 255, and `e` is a number between 0 and 32. More information about the CIDR block notation in the [Network Overview](https://docs.oracle.com/en-us/iaas/Content/Network/Concepts/overview.htm#:~:text=CIDR%20NOTATION) page.
78
76
77
+
Use `0.0.0.0/0` to indicate all IP addresses. The prefix is required (for example, include the /32 if specifying an individual IP address). For more information, check the [Security Rules](https://docs.oracle.com/en-us/iaas/Content/Network/Concepts/securityrules.htm) page.
0 commit comments