This page provides a list of additional options that can be specified
in the Docs Agent configuration file (config.yaml).
This field sets the port which the Docs Agent web app runs on.
app_port: 5001
By default, the web app is set to use port 5000.
This field controls the user interface mode of the web app.
The options are:
-
widget: This mode launches a compact widget-style interface, suitable for being embedded within a webpage.app_mode: "widget" -
full: This special mode is designed to be used with Gemini 1.5 models.app_mode: "full"
When this field is not specified, the web app is set to use the standard mode.
This field sets the type of feedback mechanism available to users for providing the quality or relevance of responses.
The options are:
-
feedback: This is the default setting.feedback_mode: "feedback" -
rewrite: This option provides the "Rewrite this response" button to allows users to suggest alternative responses.feedback_mode: "rewrite" -
like_and_dislike: This option provides simple "Like" and "Dislike" buttons.feedback_mode: "like_and_dislike"
This field controls the level of detail captured in the logs generated by Docs Agent.
Setting it to VERBOSE provides more comprehensive logging information:
log_level: "VERBOSE"
This field is set to NORMAL by default.
Setting this field to "True" allows logs to be displayed on a web browser
(which is accessible at <APP_URL>/logs):
enable_show_logs: "True"
Setting this field to "True" saves the generated answers as Markdown pages
on the host machine:
enable_logs_to_markdown: "True"
Setting this field to "True" generates detailed logs for debugging purposes:
enable_logs_for_debugging: "True"
Setting this field to "True" enables the ability to delete outdated, stale
text chunks from the vector databases:
enable_delete_chunks: "True"
Docs Agent allows for the use of a secondary database alongside the primary one for providing additional context from a different source.
This field specifies the type of secondary database to be used:
secondary_db_type: "google_semantic_retrieval"
or
secondary_db_type: "chroma"
When chroma is specified, the collection in the vector_stores/chroma
directory is used as the secondary database.
This field defines the name of the corpus for the secondary database, for example:
secondary_corpus_name: "corpora/my-example-corpus"