Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arxiv_papers

Tools for finding papers from arXiv.

Install

  1. Create conda/virtual environment using python 3.12.
  2. Clone repo and change directory cd arxiv_papers
  3. Make sure your environment has been activated.
  4. pip install -e .
  5. Setup the client (below).

Setup OpenAI Client

The filtering tools require an OpenAI API key.

The client is configured automatically by setup_client() using either:

  1. A local JSON config file
  2. An environment variable

The config file path is:

src/arxiv_papers/openai_config.json

Use an Environment Variable

This avoids storing your API key in the repository.

export OPENAI_API_KEY="sk-..."

Alternative: Use a Config File

Create:

src/arxiv_papers/openai_config.json

Example:

{
  "api_key": "sk-REPLACE_WITH_YOUR_KEY"
}

You may optionally include:

{
  "api_key": "sk-REPLACE_WITH_YOUR_KEY",
  "base_url": "https://api.openai.com/v1",
  "organization": "org_XXXXXXXX",
  "project": "proj_XXXXXXXX"
}

About

Tools for finding papers from arXiv.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages