How I can use huggingface model instance of the openAI in Neo4jGraph ? #7127
Unanswered
SiraHaruethaipree
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
os.environ['OPENAI_API_KEY'] = "OPENAI_API_KEY"
graph = Neo4jGraph(
url="bolt://44.212.12.199:7687",
username="neo4j",
password="buoy-warehouse-subordinates"
chain = GraphCypherQAChain.from_llm(
ChatOpenAI(temperature=0), graph=graph, verbose=True,
)
As I know the tutorial show the Neo4j use with the ChatOpenAI model in langchain but it not contain huggingface model how can I change it or maybe not ?
Beta Was this translation helpful? Give feedback.
All reactions