Web UI: https://chat.thenextblock.com/
TheNextBlock provides a QnA API which allows you to submit a question and retrieve related documents from the Vector database.
The base URL for the API is: https://w3search.thenextblock.com/api/v1/
- POST
The request body contains three parameters:
question(string): The question to retrieve related documents from the database.maxdocs(string): The maximum number of documents to retrieve from the database.filter(object): This feature is not yet implemented.
Example:
{
"question": "What is the Distributed Validators Network, and how many DVT protocols currently exist in the Ethereum staking landscape?",
"collection": "discord",
"filters": [],
"maxdocs": "200",
"model": "gpt-3.5-turbo-16k"
} curl --location 'https://w3search.thenextblock.com/api/v1/search' \
--header 'Content-Type: application/json' \
--data '{
"question": "What is the Distributed Validators Network, and how many DVT protocols currently exist in the Ethereum staking landscape?",
"collection": "discord",
"filters": [],
"maxdocs": "200",
"model": "gpt-3.5-turbo-16k"
}
'A successful response returns a success boolean, data object containing the request, response, vector, and debug objects.
- #arbitrum
- #thegraph
- #aave
- #compound
- #curve
- #ethereum-rd
- #flashbots
- #uniswap