Giter Club home page Giter Club logo

athena's Introduction

Open_inStreamlit Python License

๐Ÿฆ‰ Athena - Research Companion

Athena is an AI-Assist protoype powered by Cohere-AI and Embed-v3 to faciliate scientific Research. Its key differentiating features include:

  • Advanced Semantic Search: Outperforms traditional keyword searches with state-of-the-art embeddings, offering a more nuanced and effective data retrieval experience that understands the complex nature of scientific queries.
  • Human-AI Collaboration: Enables easier review of research literature, highlighting key topics, and augmenting human understanding.
  • Admin Support: Provides assistance with tasks such as categorization of research articles, e-mail drafting, and tweets generation.

๐Ÿ“š Overview

Data Pipeline

As part of this project we have created two datasets of 50.000 arXiv articles related to AI and NLP using Cohere Embedv3:

Steps:

  1. Retrieve Articles' Metadata from ArXiv. See ./data_pipeline/retrieve_arxiv.py
  2. Embed Articles' Title and Abstract using Embedv3. See ./data_pipeline/embed_arxiv.py
  3. Store Articles' Metadata and Embeddings in Weaviate. See ./data_pipeline/index_arxiv.py

Prompt Templates, Output Formatting, and Validation

Some of our tasks such as enriching abstracts with Wikipedia Links, crafting a glossary, composing e-mails and tweeting rely on a set of:

Those prompts are then composed into a LangChain chain as in the following code snippets:

Weaviate Schema

See ArxivArticle Class.

Cohere Engine

The coral.py class provides an abstraction layer over Cohere endpoints.

Streamlit App

See app.py

๐Ÿš€ Quickstart

  1. Clone the repository:
[email protected]:dcarpintero/athena.git
  1. Create and Activate a Virtual Environment:
Windows:

py -m venv .venv
.venv\scripts\activate

macOS/Linux

python3 -m venv .venv
source .venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run Data Pipeline (optional)
python retrieve_arxiv.py
python embed_arxiv.py
python index_arxiv.py
  1. Launch Web Application
streamlit run ./app.py

๐Ÿ”— References

athena's People

Contributors

dcarpintero avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.