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: doc/getting_started/configuration.rst
+7-62Lines changed: 7 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,69 +3,14 @@
3
3
Configuration
4
4
============
5
5
6
-
Initial Setup
7
-
------------
6
+
When you first open `localhost:32200`, you will find the main page of graphcap Studio:
8
7
9
-
Graphcap provides a setup script to help you configure your environment and provider settings.
10
-
You can run the setup using:
8
+
.. image:: static/graphcap_Studio_home.png
9
+
:alt:graphcap Studio home page
11
10
12
-
.. code-block:: bash
13
-
task setup
11
+
The Server Connections will be Completed, but the Providers must be configured for graphcap to work correctly.
14
12
13
+
Clicking on the "Configure Providers" button will open a modal that contains specific instructions on how to set up any providers that are currently used by graphcap.
15
14
16
-
To run without reinstalling the venv, you can run:
17
-
18
-
.. code-block:: bash
19
-
uv run python -m src.scripts
20
-
21
-
This interactive script will:
22
-
23
-
1. Create or update your ``.env`` file with provider settings
24
-
2. Create or update your provider configuration in ``workspace/config/provider.config.toml``
25
-
26
-
Environment Variables
27
-
-------------------
28
-
29
-
The setup script will help you configure the following environment variables based on your
30
-
selected providers:
31
-
32
-
- ``HUGGING_FACE_HUB_TOKEN``: API token for Hugging Face Hub
33
-
- ``OPENAI_API_KEY``: API key for OpenAI services
34
-
- ``GOOGLE_API_KEY``: API key for Google services
35
-
- ``VLLM_BASE_URL``: Base URL for vLLM service
36
-
- ``OLLAMA_BASE_URL``: Base URL for Ollama service
37
-
38
-
Provider Configuration
39
-
--------------------
40
-
41
-
The provider configuration file (``workspace/config/provider.config.toml``) defines settings for
42
-
each enabled provider.
43
-
44
-
Updating Configuration
45
-
--------------------
46
-
47
-
You can rerun the setup script at any time to update your configuration:
48
-
49
-
.. code-block:: bash
50
-
51
-
uv run python -m src.scripts
52
-
53
-
The script will:
54
-
55
-
- Detect existing configuration files
56
-
- Ask for permission before overwriting
57
-
- Preserve existing settings when updating
58
-
- Allow you to enable/disable providers
59
-
- Update API keys and settings as needed
60
-
61
-
.. warning::
62
-
Be careful when overwriting existing configuration files.
63
-
The setup script will ask for confirmation before making changes.
64
-
65
-
Configuration Location
66
-
--------------------
67
-
68
-
- Environment variables: ``.env`` in the project root
Copy file name to clipboardExpand all lines: doc/getting_started/datasets.rst
+20-10Lines changed: 20 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,28 +8,30 @@ This guide will help you manage a dataset in the Graphcap UI.
8
8
Creating a New Dataset
9
9
----------------------
10
10
11
-
1. Visit ``localhost:32300`` to access the Graphcap web interface.
11
+
1. Visit ``localhost:32200`` to access the Graphcap web interface.
12
12
13
-
2. Click on the ``Gallery`` link on the right side. The Gallery defaults to the Carousel View and the ``os_img`` Dataset.
13
+
2. Click on the ``Datasets`` icon on the left side. The left drawer will open and you will see the current Datasets available to you.
14
14
15
-
3. On the left side of the Gallery screen, next to Datasets, click on the ``New Dataset`` button. A ``Create New Dataset`` window will popup.
15
+
3. Click on the ``Create Dataset`` button. A ``Create New Dataset`` window will popup.
16
16
17
-
4. Type in the name of the dataset and press the ``Create dataset`` button. Use only letters, numbers, underscores, and hyphens. This will create a folder in the ``workspace/datasets/local`` folder, and this location will be referenced in future steps.
17
+
4. Type in the name of the dataset and press the ``Create Dataset`` button. Use only letters, numbers, underscores, and hyphens.
18
18
19
-
If you need to cancel out of creating the dataset, click the ``Cancel`` button in the popup to return to the Gallery screen.
19
+
If you need to cancel out of creating the dataset, click the ``Cancel`` button in the popup to return to the previous screen.
20
20
21
21
Deleting a Dataset
22
22
------------------
23
23
24
-
1. In the Gallery screen, either hover over or select the dataset you wish to delete.
24
+
1. Click on the ``Datasets`` icon on the left side. The left drawer will open and you will see the current Datasets available to you.
25
25
26
-
2. Click on the "hamburger" menu (the three vertical dots) that appear on the dataset. A small dialogue option will appear with ``Delete Dataset``.
26
+
2. Hover over or select the dataset you wish to delete.
27
27
28
-
3. Click on ``Delete Dataset``. A separate "Delete Dataset" window will popup, asking for you to confirm deletion of the dataset.
28
+
3. Click on the "hamburger" menu (the three vertical dots) that appear on the dataset. A small dialogue option will appear with ``Delete Dataset``.
29
29
30
-
4. To confirm deletion, click the ``Delete Dataset`` button in the popup.
30
+
4. Click on ``Delete Dataset``. A separate "Delete Dataset" window will popup, asking for you to confirm deletion of the dataset.
31
31
32
-
If you need to cancel the deletion, click the ``Cancel`` button in the popup to return to the Gallery screen.
32
+
5. To confirm deletion, click the ``Delete Dataset`` button in the popup.
33
+
34
+
If you need to cancel the deletion, click the ``Cancel`` button in the popup to return to the previous screen.
33
35
34
36
Adding Images to a Dataset
35
37
---------------------------------
@@ -42,13 +44,21 @@ In a blank dataset, "No images found" will be shown, with a button to upload ima
42
44
43
45
3. Select the image or images to upload, and click ``Open``.
44
46
47
+
You can also drag-and-drop images to the dataset. Simply drag the image from a file browser and drop it over the ``Upload`` button.
48
+
45
49
Deleting Images from a Dataset
46
50
------------------------------
47
51
48
52
1. In either Carousel View or Grid View, select the image to delete.
49
53
50
54
2. In the top right of the Image Editor, click the trashcan icon to delete the image.
51
55
56
+
3. A confirmation modal will open, asking if you are sure you want to delete the image.
57
+
58
+
4. To confirm deletion, click the ``Delete Image`` button in the modal.
59
+
60
+
If you need to cancel the deletion, click the ``Cancel`` button in the modal to return to the previous screen.
0 commit comments