Skip to content

Pass the instruction in the first request #7

@erossini

Description

@erossini

I'm creating an application with ChatGPT and I saw your project. My project for university is to create a simple English teacher that speaks with the user. To do that, I understood, I have to pass the instruction to ChatGPT like

var request = new CreateAssistantRequest(Model.GPT4o);
Assistant = await ChatGPTClient.AssistantsEndpoint.CreateAssistantAsync(
    new CreateAssistantRequest(
        name: $"English Teacher",
        instructions: $"You are a personal English Teacher. Help me learn English by interacting with me " + 
                      "based on my questions and interests.",
        model: Model.GPT4o));

Looking at your code, I didn't understand if and where I can add these instructions. Can you point me in the right direction?

I really appreciate any help you can provide.
Enrico

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions