Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

XML encode contents of in XML doc nodes #49

@Swimburger

Description

@Swimburger

For example:

    /// <summary>
    /// Use the LeMUR task endpoint to input your own LLM prompt.
    /// </summary>
    /// <example>
    /// <code>
    /// await client.Lemur.TaskAsync(
    ///     new LemurTaskParams
    ///     {
    ///         TranscriptIds = new List<string>() { "64nygnr62k-405c-4ae8-8a6b-d90b40ff3cce" },
    ///         Context = "This is an interview about wildfires.",
    ///         FinalModel = LemurModel.Default,
    ///         MaxOutputSize = 3000,
    ///         Temperature = 0f,
    ///         Prompt = "List all the locations affected by wildfires.",
    ///     }
    /// );
    /// </code>
    /// </example>
    public async Task<LemurTaskResponse> TaskAsync(
        LemurTaskParams request,
        RequestOptions? options = null,
        CancellationToken cancellationToken = default
    )

The greater than and smaller than symbol in <string> is causing XML parsing issues leading to IDEs not able to read the XML doc comments.

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't workingtriage/confirmedIssue is well-defined and understood.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions