Skip to content

Updated multiple typo's #540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/gemini/python/docs-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ To populate a new vector database:

The command takes documents under the `inputs` fields (specified in your
`config.yaml` file), splits the documents into small text chunk files, and
stores them in the `output_path` direcoty.
stores them in the `output_path` directory.

3. Create and populate a new vector database:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function convertDriveFolder(folderName, outputFolderName="", indexFile="") {
while (myfiles.hasNext()) {
var myfile = myfiles.next();
var ftype = myfile.getMimeType();
// If this is a shorcut, retrieve the target file
// If this is a shortcut, retrieve the target file
if (ftype == "application/vnd.google-apps.shortcut") {
var fid = myfile.getTargetId();
var myfile = DriveApp.getFileById(fid);
Expand Down Expand Up @@ -105,7 +105,7 @@ function convertDriveFolder(folderName, outputFolderName="", indexFile="") {
var furl = myfile.getUrl();
var fcreate = myfile.getDateCreated();

//Function returns an array, assign each array value to seperate variables
//Function returns an array, assign each array value to separate variables
var backup_results = returnBackupHash(sheet, "Backup", fid, start_data_row, 1, 9, 3);
if (backup_results != undefined && backup_results[0] != "no_results") {
var backup_fid = backup_results[0];
Expand Down Expand Up @@ -229,7 +229,7 @@ function convertDriveFolder(folderName, outputFolderName="", indexFile="") {
status,
];
sheet.appendRow(metadata);
// Return final row to inserRichText into correct rows
// Return final row to insertRichText into correct rows
row_number = sheet.getLastRow();
insertRichText(sheet, original_chip, "C", row_number);
insertRichText(sheet, md_chip, "E", row_number);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function exportEmailsToMarkdown(search, folderName) {
let md5_hash = Utilities.computeDigest(Utilities.DigestAlgorithm.MD5,hash_content,
Utilities.Charset.US_ASCII);
let hash_str = byteToStr(md5_hash);
//Function returns an array, assign each array value to seperate variables. For emails, only need to retrieve
//Function returns an array, assign each array value to separate variables. For emails, only need to retrieve
// backup markdown ids
var backup_results = returnBackupHash(sheet, "Backup", hash_str, start_data_row, 7, 4, 5);
if (backup_results != undefined && backup_results[0] != "no_results") {
Expand Down
2 changes: 1 addition & 1 deletion examples/gemini/python/docs-agent/docs/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ agent helpme <REQUEST> --file <PATH_TO_FILE>
```

Replace `REQUEST` with a prompt and `PATH_TO_FILE` with a file's
absolure or relative path, for example:
absolute or relative path, for example:

```sh
agent helpme write comments for this C++ file? --file ../my-project/test.cc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def ask_model(question, agent, template: str = "chatui/index.html"):
type(aqa_response_json).to_dict(aqa_response_json), indent=2
)
else:
# For the `gemini-*` model, alway use the Chroma database.
# For the `gemini-*` model, always use the Chroma database.
if docs_agent.config.docs_agent_config == "experimental":
results_num = 10
new_question_count = 5
Expand Down