Skip to content

Typo in Populating the Vector Store example: collection_name_name should be collection_name #175

Closed
@hyeonsang010716

Description

@hyeonsang010716

Describe the bug
There is a small typo in the code snippet in the documentation at:
https://datastax.github.io/graph-rag/guide/get-started/#preparing-data

In the "Populating the Vector Store" section, the Chroma.from_documents function uses collection_name_name instead of collection_name.

To Reproduce
Steps to reproduce the behavior:

Go to the documentation page: https://datastax.github.io/graph-rag/guide/get-started/#preparing-data

Scroll to the Populating the Vector Store section

Observe the line:
collection_name_name="animals"

Expected behavior
The code should use the correct keyword argument:
collection_name="animals"

Environment (please complete the following information):

OS: N/A (doc issue)

Python Version: 3.12.9

Frameworks: LangChain-Chroma, LangChain-Graph-Retriever, graph_rag_example_helpers

Additional context
This typo can lead to runtime errors when users copy and paste the example.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions