Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
" return most_similar_text\n",
"question = \"what are the supported platform for ssh runner?\"\n",
"\n",
"most_relevant_text = find_most_similar_text(question, ful_paras)\n",
"most_relevant_text = find_most_similar_text(question, full_paras)\n",
"print(\"Most Relevant context:\", most_relevant_text)\n",
"len(most_relevant_text)"
]
Expand Down Expand Up @@ -405,7 +405,7 @@
"source": [
"question = \"the execution of the pipeline is performed through which channel?\"\n",
"\n",
"most_relevant_text = find_most_similar_text(question, ful_paras)\n",
"most_relevant_text = find_most_similar_text(question, full_paras)\n",
"\n",
"chat_history = f\"Answer the question based on the context below. \" + \\\n",
" \"Context: \" + most_relevant_text + \\\n",
Expand Down Expand Up @@ -518,7 +518,7 @@
"source": [
"question = \"the execution of the pipeline is performed through which channel?\"\n",
"\n",
"most_relevant_text = find_most_similar_text(question, ful_paras)\n",
"most_relevant_text = find_most_similar_text(question, full_paras)\n",
"\n",
"chat_history = f\"Answer the question based on the context below. \" + \\\n",
" \"Context: \" + most_relevant_text + \\\n",
Expand Down Expand Up @@ -623,7 +623,7 @@
"source": [
"question = \"Which variable controls GitLab CI/CD Git checkout?\"\n",
"\n",
"most_relevant_text = find_most_similar_text(question, ful_paras)\n",
"most_relevant_text = find_most_similar_text(question, full_paras)\n",
"\n",
"chat_history = f\"Answer the question based on the context below. \" + \\\n",
" \"Context: \" + most_relevant_text + \\\n",
Expand Down