Skip to content

[FEATURE] WandB query by natural language #20

@shure-dev

Description

@shure-dev

We expect user query as:

from logllm import wandb_query
wandb_query("get best model when we use chain of thougt")

Then LLM writes
{"order": "-summary.metrics.accuracy", "per_page": 1}
Then execute this

# Query for the best experiment based on accuracy
runs = api.runs(f"{entity}/{project}", {"order": "-summary.metrics.accuracy", "per_page": 1})
best_run = runs[0]

print(f"Best accuracy: {best_run.summary['accuracy']}")
print("Experiment conditions:", best_run.config)

Then we get an answer in very semantic way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions