Open lizenbyj opened 3 months ago
I got the error in Google colab too. For me it occurred after I called from guidance import models, gen, user, assistant, system
. I was able to remedy by explicitly installing the previous version of bigframes.
I also got the error in Google colab with the following call
from vertexai.preview.language_models import TextEmbeddingModel
I got this issue too when importing from vertexai.generative_models import FunctionDeclaration, GenerativeModel, Part, Tool
I think this is a bug in the Vertex AI sdk? We do try to import it when we call guidance, but I don't think their dependency mismatch is something we can fix on our side. Any chance this has been resolved on the Google VertexAI end?
The bug https://github.com/googleapis/python-bigquery-dataframes went to version 1.0 3 days ago?
when importing guidance, I get the below error
AttributeError Traceback (most recent call last) in <cell line: 5>()
3 import openai
4 import pandas as pd
----> 5 import guidance
6 import tiktoken
7 import json
14 frames /usr/local/lib/python3.10/dist-packages/vertexai/preview/_workflow/executor/training.py in
57 import bigframes as bf
58
---> 59 BigframesData = bf.dataframe.DataFrame
60 except ImportError:
61 bf = None
AttributeError: module 'bigframes' has no attribute 'dataframe'
To Reproduce import guidance in colab
System info (please complete the following information): google colab