Skip to content

Rag - #214

Closed
Nouman (noumanase) wants to merge 2 commits into
microsoft:mainfrom
noumanase:rag
Closed

Rag#214
Nouman (noumanase) wants to merge 2 commits into
microsoft:mainfrom
noumanase:rag

Conversation

@noumanase

Copy link
Copy Markdown

No description provided.

Add three new files: a Retrieval-Augmented-Generation example (app/csv-rag.js) that loads app/hybrid.csv, performs a simple keyword retriever, formats matches into a markdown table, and streams a chat completion from the OpenAI client; the hybrid.csv dataset used by the example; and a tool-calling demo (app/tool-calling.js) that defines a find-landing-spot function, its JSON function schema, and demonstrates invoking the model with functions to call the tool. Both examples use environment config (process.env.GITHUB_TOKEN) and include notes about baseURL for the inference endpoint.
@DanWahlin

Copy link
Copy Markdown
Collaborator

Closing because the current course already includes updated RAG and tool-calling examples. The remaining app changes conflict with the security and Microsoft Foundry configuration work merged in #259.

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