@@ -20,10 +20,6 @@ further explore the starred repositories.
2020
2121This project/tool uses semantic search and an AI agent as an attempt to solve the above problems.
2222
23- ## Architecture & Implementation Details
24-
25- [ TBD]
26-
2723## Install (User)
2824
2925Read below to install ` uv ` . You haven't done it yet? Come on guys!!
@@ -47,27 +43,47 @@ You should make a copy of it and perhaps call it `rsg-config.toml` (The name of
4743
4844### Step 1 - Obtain the Github Personal Access Token
4945
50- [ TBD]
46+ This tool fetches your starred github repositories. In order to access to them without incurring rate limits
47+ it is required to use the Github Personal Access Token.
48+
49+ Read this to learn how to obtain it -
50+
51+ https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
5152
5253### Step 2 - Edit the ` rsg-config.toml `
5354
5455- You should provide the Github PAT obtained in Step 1
5556- You should fill the ` [embedder] ` section (Supported provider types are - ollama, openai, azure_openai)
5657- You should fill the ` [agent.litellm_params] ` section
5758
58- [ TBD ] - Don't think above instructions are enough! To update and explain in detail the settings
59+ In ` rsg-config.example.toml ` , I have added necessary comments to help fill out various configuration.
5960
6061### Step 3 - Build the database
6162
63+ The real work starts with this step.
64+
65+ At the moment, I use naive RAG technique.
66+
67+ - Information about your starred github repos are downloaded using the GitHub API
68+ - Then the ` readme ` files of these repos are downloaded. Note - Some repos, do not have ` readme ` file.
69+ - Then these ` readme ` files are chunked and their embeddings are stored in a vector store
70+
71+ The data above (including vectorstore) is stored in your computers data directories for example ` $HOME/.local/share/rsg `
72+ on macos and linux.
73+
74+ You can change the location of the data by setting the environment variable ` RSG_DATA_HOME `
75+
6276``` bash
6377uvx --from repo-stargazer rsg build --config rsg-config.toml
6478```
6579
6680### Step 4 - Run the agent using adk web & ui
6781
68- The agent is built using Google ADK and I have done somewhat of a hack to be able run the agent
69- by the built-in fastapi server & user interface. The server & user interface is meant for development needs but
70- for now it is the only UI there is
82+ Let's see all of it in action.
83+
84+ For the user interface, I am still using the development UI that comes as part of Google ADK.
85+
86+ In near future, would provide a decent UI with out any developer specific elements.
7187
7288``` bash
7389uvx --from repo-stargazer rsg run-adk-server --config rsg-config.toml
0 commit comments