Skip to content

Commit f5ffb6a

Browse files
committed
fix: docs links
1 parent eae24da commit f5ffb6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/concepts/freeform_views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Unlike structured views, which define a response format and a set of operations
3636
]
3737
```
3838

39-
To learn more about implementing freeform views, refer to the [How to: Create text-to-SQL Freeform View](../how-to/custom_freeform_views.md) guide.
39+
To learn more about implementing freeform views, refer to the [How to: Create text-to-SQL Freeform View](../how-to/views/text-to-sql.md) guide.
4040

4141
!!! warning
4242
When using freeform views, the LLM typically gets raw access to the data source and can execute arbitrary operations on it using the query language of the data source (e.g., SQL). This can be powerful but also necessitates that the developer be extremely cautious about securing the data source outside of db-ally. For instance, in the case of Relational Databases, the developer should ensure that the database user used by db-ally has read-only access to the database, and that the database does not contain any sensitive data that shouldn't be exposed to the LLM.

docs/how-to/views/custom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ There are two main ways to create custom structured views:
6262
If you're not sure which method to choose, we recommend starting with the `MethodsBaseView`. It's simpler and easier to use, and you can switch to the `BaseStructuredView` later if you find you need more control over filter management. For this guide, we'll focus on the `MethodsBaseView`.
6363

6464
!!! note
65-
Both are methods of creating [structured views](../../concepts/structured_views.md). If you're looking to create a [freeform view](../../concepts/freeform_views.md), refer to the [Freeform Views](custom_freeform_views.md) guide instead.
65+
Both are methods of creating [structured views](../../concepts/structured_views.md). If you're looking to create a [freeform view](../../concepts/freeform_views.md), refer to the [Freeform Views](text-to-sql.md) guide instead.
6666

6767
## Example
6868
Throughout the guide, we'll use an example of creating a custom base view called `FilteredIterableBaseView`. To keep things simple, the "data source" it uses is a list defined in Python. The goal is to demonstrate how to create a custom view and define filters for it. In most real-world scenarios, data would usually come from an external source, like a REST API or a database.

0 commit comments

Comments
 (0)