Skip to content
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

Create a search based document for graph-of-thoughts #24

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
update
  • Loading branch information
GitJournalApp committed Jan 10, 2024
commit 3e8bebb735936398104f99c7cfb07feefa72766f
10 changes: 10 additions & 0 deletions docs/codeview.html
Original file line number Diff line number Diff line change
@@ -432,7 +432,17 @@
var xhr = new XMLHttpRequest();
xhr.open('GET', code_path, false); // The third parameter is set to false for synchronous request
xhr.send(null);
if (xhr.status == 200){
code_elem.textContent = xhr.responseText;}else{

var xhr = new XMLHttpRequest();
// TODO: mitigate this evil hack by passing more info of the original project.
var newLink = "https://raw.githubusercontent.com/James4Ever0/LLM_Tree_Search/main/docs/"+code_path
xhr.open('GET',newLink , false); // The third parameter is set to false for synchronous request
xhr.send(null);
code_elem.textContent = xhr.responseText;
}

pre_elem.appendChild(code_elem);
// pre_elem.setAttribute("data-src", code_path);
section_elem.appendChild(pre_elem)
14 changes: 7 additions & 7 deletions docs/metadata.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
"2": {
"filepath": "/examples/README.md",
"entry_id": 20,
"language_id": "plain-text"
"language_id": "markdown"
},
"3": {
"filepath": "/examples/doc_merge/README.md",
@@ -42,7 +42,7 @@
"7": {
"filepath": "/examples/keyword_counting/README.md",
"entry_id": 244,
"language_id": "markdown"
"language_id": "plain-text"
},
"8": {
"filepath": "/examples/keyword_counting/dataset_gen_countries.py",
@@ -77,7 +77,7 @@
"14": {
"filepath": "/examples/sorting/README.md",
"entry_id": 332,
"language_id": "plain-text"
"language_id": "markdown"
},
"15": {
"filepath": "/examples/sorting/plot.py",
@@ -92,7 +92,7 @@
"17": {
"filepath": "/graph_of_thoughts/controller/README.md",
"entry_id": 360,
"language_id": "plain-text"
"language_id": "markdown"
},
"18": {
"filepath": "/graph_of_thoughts/controller/__init__.py",
@@ -107,7 +107,7 @@
"20": {
"filepath": "/graph_of_thoughts/language_models/README.md",
"entry_id": 384,
"language_id": "plain-text"
"language_id": "markdown"
},
"21": {
"filepath": "/graph_of_thoughts/language_models/__init__.py",
@@ -137,7 +137,7 @@
"26": {
"filepath": "/graph_of_thoughts/operations/README.md",
"entry_id": 450,
"language_id": "plain-text"
"language_id": "markdown"
},
"27": {
"filepath": "/graph_of_thoughts/operations/__init__.py",
@@ -182,7 +182,7 @@
"35": {
"filepath": "/paper/README.md",
"entry_id": 576,
"language_id": "markdown"
"language_id": "plain-text"
},
"36": {
"filepath": "/paper/plots.py",