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

examples += wikipedia_mini_rag.py for educational LLM+Wikipedia integration #364

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

gwpl
Copy link
Contributor

@gwpl gwpl commented Nov 4, 2024

  • Introduced wikipedia_mini_rag.py to showcase integration of LLM agents with Wikipedia using lynx.
  • Key functionalities:
    • search_wikipedia: tool to return search results and links.
    • wikipedia_page_content: fetches page content.
    • search_wikipedia_and_suggest_page_to_read: AI suggests Wikipedia page based on query.
    • answer_query_by_reading_wikipedia_page: AI reads page content to answer queries.
  • Implements verbosity via command-line flags -v and -vv.
  • Example positioned in examples/ to guide educational purposes.
  • Integrates LLM workflows using ell library, illustrating refined AI-agent interactions with tools.

Additionally gives users educational task (and link to solution if someone seeking spoilers).

…egration

* Introduced `wikipedia_mini_rag.py` to showcase integration of LLM agents with Wikipedia using `lynx`.
* Key functionalities:
  * `search_wikipedia`: tool to return search results and links.
  * `wikipedia_page_content`: fetches page content.
  * `search_wikipedia_and_suggest_page_to_read`: AI suggests Wikipedia page based on query.
  * `answer_query_by_reading_wikipedia_page`: AI reads page content to answer queries.
* Implements verbosity via command-line flags `-v` and `-vv`.
* Example positioned in `examples/` to guide educational purposes.
* Integrates LLM workflows using `ell` library, illustrating refined AI-agent interactions with tools.

Additionally gives users educational task (and link to solution if someone seeking spoilers).
@MadcowD MadcowD merged commit 696bf0f into MadcowD:main Nov 5, 2024
3 checks passed
@MadcowD
Copy link
Owner

MadcowD commented Nov 5, 2024

TY~!!!!

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

Successfully merging this pull request may close these issues.

2 participants