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

Alternatives to You.com search API #8

Open
songkq opened this issue Apr 13, 2024 · 14 comments
Open

Alternatives to You.com search API #8

songkq opened this issue Apr 13, 2024 · 14 comments

Comments

@songkq
Copy link

songkq commented Apr 13, 2024

@shaoyijia
Copy link
Collaborator

Hi, thanks for your interest!

We view this project as an example of a knowledge curation engine that serves as the intermediate layer between vase unstructured information and human. So, supporting different information sources is in our plan.

For the pointers you provide, are you willing to open a PR for integration? Happy to help merge it.

@songkq
Copy link
Author

songkq commented Apr 14, 2024

Yeah, I'll try to integrate more search APIs into storm.

@shaoyijia
Copy link
Collaborator

Great, thank you!

@LronDC
Copy link

LronDC commented Apr 15, 2024

If we have plans and a to-do list, I'd like to claim some tasks to help.

@Yucheng-Jiang
Copy link
Collaborator

@LronDC Thank you for your interest in our project! We're currently working on an upcoming code release that will enhance the scalability of the project. We will keep you updated and soon share some potential tasks where the community can contribute. Stay tuned!

@songkq
Copy link
Author

songkq commented Apr 16, 2024

@shaoyijia Please review this pull request #20.

  1. Support DuckDuckGoSearchAPI and TavilySearchAPI as Alternatives to You.com.
  2. When enabling TopicExpert to use DuckDuckGoSearchAPI or TavilySearchAPI, these APIs will return compelete contents instead of snippets as default.
  3. One can setup the search API through editing these environments in secrets.toml:
    Set WEB_SEARCH_API as one of ['DuckDuckGoSearchAPI', 'TavilySearchAPI', 'YouSearchAPI'], using YouSearchAPI as default
    Setup You.com search API key by YDC_API_KEY=<your_youcom_api_key>
    Setup api.tavily.com search API key by TAVILY_API_KEY=<your_api_tavily_com_key>

@songkq
Copy link
Author

songkq commented Apr 17, 2024

@shaoyijia Considering supporting different information sources, I recommend you to use our open-source project, i.e., QAnything. QAnything is a local knowledge base question-answering system designed to support a wide range of file formats and databases.

@dl942702882
Copy link

sadly, we cannot access to You.com。

@Yucheng-Jiang
Copy link
Collaborator

@dl942702882 You.com offers free tier of api quota. It’s sufficient to write more than 25 articles locally.

@shaoyijia
Copy link
Collaborator

@dl942702882 , for switching to customized sources (before we support this officially), maybe you can check out what this PR (#20) tries to do?

@shaoyijia
Copy link
Collaborator

An update in this thread:

We just release the refactored code to make it easier to run/customize/develop the STORM engine. Now, search API, retrieval model integration in src/rm.py. The knowledge curation engine will directly consume the Information output by Retriever.

@shaoyijia
Copy link
Collaborator

@LronDC @songkq , we are now specifically interested in supporting:

  1. Retrieval models that can retrieve information from customized source.
  2. Search API that return academic sources, e.g., Semantic Scholar API

Contribution is highly appreciated if you are interested!

@songkq
Copy link
Author

songkq commented Apr 23, 2024

@shaoyijia Hi, I'll support the Semantic Scholar API soon after the API key is obtained.

@shaoyijia
Copy link
Collaborator

Hi @songkq , thank you so much! I have a Semantic Scholar API so can also test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants