Skip to content

Commit

Permalink
Merge branch for adding "TypeError: issubclass() arg 1 must be a clas…
Browse files Browse the repository at this point in the history
…"s solution
  • Loading branch information
Jupiter1995 committed Nov 26, 2023
2 parents a3cc64e + 6a0f569 commit b0896f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ See [here](https://gentopia.readthedocs.io/en/latest/index.html) for full docume

## News 👷

**[Oct 7]** The companion paper was accepted by #EMNLP 23. See you in Singapore! 🦙🌎

**[Aug 6]** We've submitted our work as a paper for EMNLP 2023. Special thanks to the research [team](https://gentopia-ai.github.io/Gentopia-AI-Homepage/#about) and professors from NCSU, GMU, and CMU for collaboration :)

## Join us! 🌎
Expand Down
12 changes: 6 additions & 6 deletions gentopia/tools/google_scholar.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def _run(self, author: AnyStr, top_k: int = 5) -> str:
'citation': it['citedby'],
}))
if not ans:
return "no furthur information available"
return "no further information available"
return '\n\n'.join(ans)

async def _arun(self, *args: Any, **kwargs: Any) -> Any:
Expand Down Expand Up @@ -72,7 +72,7 @@ def _run(self, interests: AnyStr, top_k: int = 5) -> str:
'citation': it['citedby'],
}))
if not ans:
return "no furthur information available"
return "no further information available"
return '\n\n'.join(ans)

async def _arun(self, *args: Any, **kwargs: Any) -> Any:
Expand Down Expand Up @@ -115,7 +115,7 @@ def _run(self, uid: AnyStr, sort_by: AnyStr, top_k: int = 5) -> str:
'citation': it['num_citations'],
}))
if not ans:
return "no furthur information available"
return "no further information available"
return '\n\n'.join(ans)

async def _arun(self, *args: Any, **kwargs: Any) -> Any:
Expand Down Expand Up @@ -157,7 +157,7 @@ def _run(self, title: AnyStr, sort_by: AnyStr, top_k: int = 5) -> str:
'citation': it['num_citations'],
}))
if not ans:
return "no furthur information available"
return "no further information available"
return '\n\n'.join(ans)

async def _arun(self, *args: Any, **kwargs: Any) -> Any:
Expand Down Expand Up @@ -198,7 +198,7 @@ def _run(self, title: AnyStr, top_k: int = 5) -> str:
'citation': it['num_citations'],
}))
if not ans:
return "no furthur information available"
return "no further information available"
return '\n\n'.join(ans)

async def _arun(self, *args: Any, **kwargs: Any) -> Any:
Expand Down Expand Up @@ -239,7 +239,7 @@ def _run(self, title: AnyStr, top_k: int = 5) -> str:
'citation': it['num_citations'],
}))
if not ans:
return "no furthur information available"
return "no further information available"
return '\n\n'.join(ans)

async def _arun(self, *args: Any, **kwargs: Any) -> Any:
Expand Down

0 comments on commit b0896f9

Please sign in to comment.