Skip to content

Add a docs server based on the AI Assistant Vectorize index #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 30, 2025

Conversation

mhart
Copy link
Collaborator

@mhart mhart commented Apr 28, 2025

An alternative to the AutoRAG approach

@mhart mhart force-pushed the mhart/docs-vectorize branch from c991dce to c8b6568 Compare April 29, 2025 02:12
@cmsparks cmsparks self-requested a review April 29, 2025 16:41
.join('\n')
return {
content: [{ type: 'text', text: resultsAsXml }],
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a mixture of different response types or is it just chunks of markdown? Curious to see how this works vs the standard embedded resource setup. Cool with merging this as is

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah interested to see too. It's just chunks of markdown. I think resources is ultimately the right way – but I'm not sure that all MCP clients would work as well with it (also I highly doubt any models have actually been trained specifically on it yet, so I suspect resources are just thrown into the LLM context as a JSON blob).

Probably so subtle it'd be hard to come up with a scenario to test, but would be cool if we could.

@mhart mhart force-pushed the mhart/docs-vectorize branch 2 times, most recently from 876d186 to 490a1f3 Compare April 29, 2025 22:36
@mhart mhart force-pushed the mhart/docs-vectorize branch from 49eab3e to 6fae91f Compare April 30, 2025 03:11
@Maximo-Guk Maximo-Guk merged commit 2258663 into cloudflare:main Apr 30, 2025
@mhart mhart deleted the mhart/docs-vectorize branch April 30, 2025 03:25
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.

3 participants