Skip to content

Add Developer Knowledge API demo#1205

Open
antfitch wants to merge 4 commits into
GoogleCloudPlatform:mainfrom
antfitch:add-dkg-api-demo
Open

Add Developer Knowledge API demo#1205
antfitch wants to merge 4 commits into
GoogleCloudPlatform:mainfrom
antfitch:add-dkg-api-demo

Conversation

@antfitch
Copy link
Copy Markdown

This is a demo which shows builders how to access Google product documentation in markdown format through Google's Developer Knowledge API.

@antfitch
Copy link
Copy Markdown
Author

@joefspiro can you take a look at this?

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a Developer Knowledge API demo application built with Next.js, featuring documentation search, local user profile management via SQLite WASM, and specialized markdown rendering. Feedback indicates that using server actions to write API keys to .env.local is unsuitable for production environments and suggests using secure cookies or a database instead. Furthermore, the search API route should be updated to validate the presence of the API key and return a 401 Unauthorized response if it is missing.

Comment thread ai-ml/developer-knowledge-api-demo/src/app/actions.ts Outdated
Comment thread ai-ml/developer-knowledge-api-demo/src/app/actions.ts Outdated
Comment thread ai-ml/developer-knowledge-api-demo/README.md Outdated
Comment thread ai-ml/developer-knowledge-api-demo/README.md Outdated
@antfitch
Copy link
Copy Markdown
Author

@joefspiro this is ready for another review. There is a blocking issue in another demo, agents/aicamp/osquery_data which someone needs to resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants