Replies: 2 comments 5 replies
-
Hello, @Zaeem6100! I'm here to help you with any bugs, questions, or contributions you might have. Let's tackle this together! To address your issues with using
Here's an example of how you can achieve this: Step 1: Define Your Pydantic Modelfrom typing import Optional
from pydantic import BaseModel
class CourseModel(BaseModel):
name: str
degree_level: Optional[str]
taught_language: Optional[str]
embedding: Optional[str]
course_link: Optional[str]
additional_field: Optional[str] # Example of an additional field not in the Graph Node Step 2: Use
|
Beta Was this translation helpful? Give feedback.
-
@dosu Hi, I have also tried using output parser for the GraphCypherQAChain, but is not working for me... My langchain version is langchain==0.1.16, |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Model
Description
neo4J Course Node
I am creating the Embedding using
embeddings = OpenAIEmbeddings().embed_query(cleaned_html)
I am Phasing 2 Problems
How the output prompts are going to handle in the GraphCypherQAChain.
System Info
System Information
Package Information
Beta Was this translation helpful? Give feedback.
All reactions