wandb / weave

Weave is a toolkit for developing AI-powered applications, built by Weights & Biases.
https://wandb.me/weave
Apache License 2.0
659 stars 49 forks source link

PydanticUserError: A non-annotated attribute was detected: `summarize = <OpDef: op-summarize None>`. All model fields require a type annotation; if `summarize` is not meant to be a field, you may be able to resolve this error by annotating it as a `ClassVar` or updating `model_config['ignored_types']`. #2106

Closed farzad528 closed 1 month ago

farzad528 commented 1 month ago
from llama_index.core.chat_engine import SimpleChatEngine

# Initialize Weave with your project name
weave.init(WANDB_PROJECT)
farzad528 commented 1 month ago

I am using weave version 0.50.13

gtarpenning commented 1 month ago

Hi @farzad528 thanks for writing in again, lets get you up and running. I can't reproduce this on my own system, do you mind giving me a bit more information about your environment? A full dump from pip freeze would be helpful as well. Sorry you are running into friction here!

farzad528 commented 1 month ago

resolved