You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ai.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,11 @@ Here is the steps to set it up:
3
3
1. Go to [Google AI Studio](https://aistudio.google.com/api-keys) and sign in with your Google account.
4
4
2. Click on "Create API Key" and "Create Project" and copy the generated API key (the names don't matter).
5
5
3. Paste the API key into the `oxdraw --code-map ./ --gemini YOUR_API_KEY` flag when running the code map generation command.
6
+
6
7
This process is fairly straightforward and doesn't require any billing information.
8
+
7
9
The other default option (which [I used](https://github.com/RohanAdwankar/cgpu?tab=readme-ov-file#serve-gemini-for-free-as-openai-compatible-api) during development) is to serve local inference on this url http://localhost:8080/v1/responses
10
+
8
11
The response format should be compatible with OpenAI's responses API.
12
+
9
13
For an explanation of how the AI codemap generation works check out the [codemap!](docs/ai_codemap_generation.mmd)
0 commit comments