Giter VIP home page Giter VIP logo

Comments (5)

QuentinAmbard avatar QuentinAmbard commented on August 16, 2024 1

Hi @lynnlangit, the demo requires Unity Catalog to work indeed, I'll add a note.

from dbdemos.

QuentinAmbard avatar QuentinAmbard commented on August 16, 2024

hey, this was a bug in the previous version, I think it's fixed in the latest.
Can you try to reinstall it we released the fix yesterday ?
It should be in 0.3.49

technically there are 2 rows inverted for some reason during the config notebook install, you need to first install the pip and then load the config file, not the other way around

from dbdemos.

ssmaroju avatar ssmaroju commented on August 16, 2024

Hi, I get an error when executing in the notebook '01-Data-Preparation-and-Index': %run ../_resources/00-init $reset_all_data=false

The message is:
The execution of this command did not finish successfully and has error as below:

Screenshot 2024-02-21 115331

from dbdemos.

QuentinAmbard avatar QuentinAmbard commented on August 16, 2024

hey, from the error you don't have access to the main catalog. Check in the data explorer which catalog is available for you and then install the demo here (catalog="xx").
You need to make sure Unity Catalog is enabled in your workspace!

from dbdemos.

lynnlangit avatar lynnlangit commented on August 16, 2024

Please update your demo instructions to include the requirement (and instructions) to configure the Databricks Unity Catalog to be able to use Databricks Vector Search feature. I repro'd the errors shown earlier using an Azure Databricks cluster today for your example application --> https://notebooks.databricks.com/demos/llm-rag-chatbot/index.html#

Exception code shown below:

Exception: Response content b'{"error_code":"BAD_REQUEST","message":"Unity catalog is not enabled for this account or the workspace does not have a metastore attached. Unity Catalog enablement is required for Vector Search. Please enable Unity Catalog and try again later."}', status_code 400
File <command-4168473880346588>, line 5
      2 vsc = VectorSearchClient()
      4 if not endpoint_exists(vsc, VECTOR_SEARCH_ENDPOINT_NAME):
----> 5     vsc.create_endpoint(name=VECTOR_SEARCH_ENDPOINT_NAME, endpoint_type="STANDARD")
      7 wait_for_vs_endpoint_to_be_ready(vsc, VECTOR_SEARCH_ENDPOINT_NAME)
      8 print(f"Endpoint named {VECTOR_SEARCH_ENDPOINT_NAME} is ready.")

from dbdemos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.