Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
ChatFlock
ChatFlock
  • Quickstart
  • API Reference
    • chatflock
      • chatflock.backing_stores
        • chatflock.backing_stores.in_memory
        • chatflock.backing_stores.langchain
      • chatflock.code
        • chatflock.code.base
        • chatflock.code.docker
        • chatflock.code.langchain
        • chatflock.code.local
      • chatflock.composition_generators
        • chatflock.composition_generators.langchain
      • chatflock.conductors
        • chatflock.conductors.langchain
        • chatflock.conductors.round_robin
      • chatflock.participants
        • chatflock.participants.group
        • chatflock.participants.langchain
        • chatflock.participants.output_parser
        • chatflock.participants.spr
        • chatflock.participants.user
      • chatflock.renderers
        • chatflock.renderers.terminal
      • chatflock.sequencial_process
        • chatflock.sequencial_process.sequential_process
      • chatflock.use_cases
        • chatflock.use_cases.bshr
        • chatflock.use_cases.request_response
      • chatflock.web_research
        • chatflock.web_research.page_retrievers
          • chatflock.web_research.page_retrievers.base
          • chatflock.web_research.page_retrievers.fallback
          • chatflock.web_research.page_retrievers.requests_retriever
          • chatflock.web_research.page_retrievers.scraper_api_retriever
          • chatflock.web_research.page_retrievers.selenium_retriever
        • chatflock.web_research.errors
        • chatflock.web_research.page_analyzer
        • chatflock.web_research.search
        • chatflock.web_research.web_research
      • chatflock.ai_utils
      • chatflock.base
      • chatflock.errors
      • chatflock.parsing_utils
      • chatflock.structured_string
      • chatflock.utils
Back to top
View this page
Edit this page

chatflock.web_research.page_retrievers.fallback¶

Module Contents¶

class chatflock.web_research.page_retrievers.fallback.RetrieverWithFallback(retrievers)¶

Bases: chatflock.web_research.page_retrievers.base.PageRetriever

Helper class that provides a standard way to create an ABC using inheritance.

Parameters:

retrievers (Sequence[chatflock.web_research.page_retrievers.base.PageRetriever])

retrievers¶
retrieve_html(url, **kwargs)¶
Parameters:
  • url (str)

  • kwargs (Any)

Return type:

str

Next
chatflock.web_research.page_retrievers.requests_retriever
Previous
chatflock.web_research.page_retrievers.base
Copyright © 2024, Aviram Kofman
Made with Sphinx and @pradyunsg's Furo
On this page
  • chatflock.web_research.page_retrievers.fallback
    • Module Contents
      • RetrieverWithFallback
        • RetrieverWithFallback.retrievers
        • RetrieverWithFallback.retrieve_html()