curious-me
Small library to ask questions, get reviews and citations of papers. Currently papers are fetched from arxiv but it can be possible to use other sources as well.
Installation
- Create virtual environment and activate it
python -m venv venv
In Windows
venv\Scripts\activate
In GNU/Linux
source venv/bin/activate
- Install package If using pip
pip install curious-me
If cloned the repo
cd curious-me/curious_me
pip install .
- Run the application, first open python then run the following commands
from curious_me import Curious
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model_name="grok-2-1212",
temperature=0.1,
base_url="https://api.x.ai/v1",
api_key=<your api key>,
)
topics = ['GPT', 'LLM', 'Decoder', 'Artificial generative Intelligence']
curious = Curious(topics=topics, llm=llm) # or Curious(topics=topics, llm=llm, skip_search=True) if you # want to search papers and build vector store again
curious.ask("What are recent advances in GPT?")
curious.get_review("RAG")
curious.get_citation(claim="Leaky ReLU is better than ReLU")
Note:
Steps for using own pdfs
- Clone the repo.
- Add your pdfs in the folder
curious-me/curious_me/research_papers - Run the following commands
from curious_me import Curious
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model_name="grok-2-1212",
temperature=0.1,
base_url="https://api.x.ai/v1",
api_key=<your api key>,
)
topics = [] # your topics
curious = Curious(topics=topics, llm=llm, skip_search=True, rebuild_vec_store=True)
curious.ask("Questions?")
Metadata
Release files for curious-me 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| curious_me-0.1.1.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| curious_me-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.4 kB
Release files / curious_me-0.1.1.tar.gz
| Download URL | curious_me-0.1.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42bf823ac1ea25c440e2f947ca39812a10b60b2dfc8875e00f05ecbe7db60add
|
|
BLAKE2b-256 checksum How to use checksums |
240168e9bbb1662b30dfeb0f81ff729dc7b5d47a2d754eb14ce10399632d8242
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.9
|
Release files / curious_me-0.1.1-py3-none-any.whl
| Download URL | curious_me-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ad9184460f4a10a66e553577a61c25c2898f42ab58cd6f95cd3d3cf89f976af
|
|
BLAKE2b-256 checksum How to use checksums |
2e769c32ad95cbbae5cb6fe3179f9f8e3028cff941e302fcf667bad1759111c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.9
|