Skip to content

Commit 4c1524b

Browse files
authored
Doc update 20250405 (#71)
* added folder for doc builds Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * formatting for index page Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * removed script configuration Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * updated port on localhost Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * updated Getting Started Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * added pic of home screen Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * added second pic for showing instructions Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * updated with new directions Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * removed references to pipeline and workspaces from getting started Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * fixed pathing on action drawers image Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * updated picture with new interface Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * adjusted lists for action drawers Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> * getting more navigation configured Signed-off-by: Charlie Rogers <charlie.rogers@fearnworks.com> * fixed spacing on the graphics Signed-off-by: Charlie Rogers <charlie.rogers@fearnworks.com> --------- Signed-off-by: charlie.rogers <charlie.rogers@fearnworks.com> Signed-off-by: Charlie Rogers <charlie.rogers@fearnworks.com>
1 parent 620c021 commit 4c1524b

16 files changed

Lines changed: 94 additions & 98 deletions

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ test_logs.jsonl
2323
docker-compose.override.yml
2424
node_modules/
2525
graphcap_pg.session.sql
26-
media_server_v2/
26+
media_server_v2/
27+
28+
# Doc build files
29+
doc/_build/*

doc/concepts/perspectives.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _perspectives:
2+
13
===========================
24
Perspectives in graphcap
35
===========================

doc/dev/architecture.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _architecture:
2+
13
=================================
24
graphcap Architecture Overview
35
=================================
File renamed without changes.

doc/dev/servers/data_service.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _data_service:
2+
13
=================================
24
graphcap Data Service Architecture
35
=================================
@@ -38,8 +40,8 @@ Architecture Components
3840
.. code-block:: text
3941
4042
┌──────────────────────────────────────────────────────┐
41-
│ Data Service
42-
43+
│ Data Service │
44+
│ │
4345
│ ┌─────────────┐ ┌──────────────┐ ┌────────┐│
4446
│ │ │ │ │ │ ││
4547
│ │ Hono API ├──────┤ Repository ├─────┤ Drizzle││

doc/dev/servers/inference_bridge.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _inference_bridge:
2+
13
=====================================
24
graphcap Inference Bridge Architecture
35
=====================================
@@ -69,7 +71,7 @@ Architecture Diagram
6971
│ │ │
7072
│ │ AI Providers │
7173
▼ │ │
72-
┌───────────────┐ └─────────────────────┘
74+
┌───────────────┐ └─────────────────────┘
7375
│ Data Service │
7476
│ │
7577
└───────┬───────┘

doc/dev/servers/media_server.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _media_server:
2+
13
=================================
24
graphcap Media Server Architecture
35
=================================
@@ -38,8 +40,8 @@ Architecture Components
3840
.. code-block:: text
3941
4042
┌─────────────────────────────────────────────────────┐
41-
│ Media Server
42-
43+
│ Media Server │
44+
│ │
4345
│ ┌─────────────┐ ┌───────────────┐ │
4446
│ │ │ │ │ │
4547
│ │ Express ├────┤ Services │ │
File renamed without changes.

doc/getting_started/configuration.rst

Lines changed: 7 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -3,69 +3,14 @@
33
Configuration
44
============
55

6-
Initial Setup
7-
------------
6+
When you first open `localhost:32200`, you will find the main page of graphcap Studio:
87

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
1110

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.
1412

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.
1514

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
69-
- Provider configuration: ``workspace/config/provider.config.toml``
70-
71-
These files are automatically loaded when running Graphcap services.
15+
.. image:: static/graphcap_Studio_provider_setup.png
16+
:alt: graphcap Studio provider setup modal

doc/getting_started/datasets.rst

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,30 @@ This guide will help you manage a dataset in the Graphcap UI.
88
Creating a New Dataset
99
----------------------
1010

11-
1. Visit ``localhost:32300`` to access the Graphcap web interface.
11+
1. Visit ``localhost:32200`` to access the Graphcap web interface.
1212

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.
1414

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.
1616

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.
1818

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.
2020

2121
Deleting a Dataset
2222
------------------
2323

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.
2525

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.
2727

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``.
2929

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.
3131

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.
3335

3436
Adding Images to a Dataset
3537
---------------------------------
@@ -42,13 +44,21 @@ In a blank dataset, "No images found" will be shown, with a button to upload ima
4244

4345
3. Select the image or images to upload, and click ``Open``.
4446

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+
4549
Deleting Images from a Dataset
4650
------------------------------
4751

4852
1. In either Carousel View or Grid View, select the image to delete.
4953

5054
2. In the top right of the Image Editor, click the trashcan icon to delete the image.
5155

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.
61+
5262
Editing Images in a Dataset
5363
---------------------------
5464

0 commit comments

Comments
 (0)