Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update embeddings and Prompts #36

Merged
merged 6 commits into from
Jun 25, 2024
Merged

Conversation

zach-blumenfeld
Copy link
Member

@zach-blumenfeld zach-blumenfeld commented Jun 24, 2024

Update Workshop notebooks for the following:

  1. Streamline text embedding by using genai.vector.* Cypher operations instead of external workflow Use Native Cypher Encode to generate and store embeddings #29
  2. Simplify prompt used in LLM chain (No need for multi-part chat template)
  3. Updated from "gpt-4" to "gpt-4o" to return results much faster
  4. Updated prompt for better experience:
    • Updated prompt template langauge and inputs so model better accounts for customer interests and seasonality/timeOfYear when making fashion recommendations
    • more "summer friendly" search prompt examples Update Search Prompt Examples for Summer #31
  5. Updated markdown text in introduction with "GraphRAG" and aligned to abstract.....cleaned markdown in a few other places

Things not done due to time constraints (open to feedback if we still need them)

  1. Remove dependency on GDS client in the beginning along with the custom neo4j_tools package I made Remove CUstom Python Package Dependency - GDS Tools #32
  2. Some other weird GDS things: Switch out GDS Debug Call for Testing Connection #33 GDS deprecated field warning #35
  3. Use Vector Index for Graph Embeddings Rather then KNN Relationship Drawing #30 - for retrieval...this would be nice, but also would require changing a lot of language in the notebook and slides, and arguably may be worse, especially on sandbox instances with limited memory.

@zach-blumenfeld zach-blumenfeld merged commit 751f507 into main Jun 25, 2024
@zach-blumenfeld zach-blumenfeld deleted the update-embeddings-and-prompts branch June 25, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant