Files
genai-toolbox/docs/sources
Wenxin Du 8ca7e91240 docs: Add auth source docs (#132)
Add authsources and authenticated parameter docs. Format some other .md
docs.

---------

Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2024-12-17 13:49:43 -05:00
..
2024-12-17 13:49:43 -05:00
2024-12-16 11:03:14 -08:00

Sources

A Source represents a data sources that a tool can interact with. You can define Sources as a map in the sources section of your tools.yaml file. Typically, a source configuration will contain any information needed to connect with and interact with the database.

sources:
    my-cloud-sql-source:
        kind: cloud-sql-postgres
        project: my-project-name
        region: us-central1
        instance: my-instance-name
        database: my_db
        user: my-user
        password: my-password

In implementation, each source is a different connection pool or client that used to connect to the database and execute the tool.

Kinds of Sources

We currently support the following types of kinds of sources: