We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This function:
https://github.com/neo4j-graphacademy/llm-vectors-unstructured/blob/main/llm-vectors-unstructured/solutions/build_graph.py#L24
# tag::get_embedding[] def get_embedding(llm, text): response = llm.embeddings.create( input=chunk.page_content, model="text-embedding-ada-002" ) return response.data[0].embedding # end::get_embedding[]
... doesn't use the text parameter passed to it. It still works as chunk is globally defined, but it should be changed.
text
The text was updated successfully, but these errors were encountered:
martinohanlon
No branches or pull requests
This function:
https://github.com/neo4j-graphacademy/llm-vectors-unstructured/blob/main/llm-vectors-unstructured/solutions/build_graph.py#L24
... doesn't use the
text
parameter passed to it. It still works as chunk is globally defined, but it should be changed.The text was updated successfully, but these errors were encountered: