fix typo and model selector (#843)
* fix typo and model selector * bump version
This commit is contained in:
parent
1abb4b0fa3
commit
c28bde6b07
4 changed files with 4 additions and 6 deletions
|
|
@ -84,7 +84,7 @@ class OpenAIRerankerClient(CrossEncoderClient):
|
||||||
responses = await semaphore_gather(
|
responses = await semaphore_gather(
|
||||||
*[
|
*[
|
||||||
self.client.chat.completions.create(
|
self.client.chat.completions.create(
|
||||||
model=DEFAULT_MODEL,
|
model=self.config.model or DEFAULT_MODEL,
|
||||||
messages=openai_messages,
|
messages=openai_messages,
|
||||||
temperature=0,
|
temperature=0,
|
||||||
max_tokens=1,
|
max_tokens=1,
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,4 @@ COMMUNITY_NODE_RETURN = """
|
||||||
n.group_id AS group_id,
|
n.group_id AS group_id,
|
||||||
n.summary AS summary,
|
n.summary AS summary,
|
||||||
n.created_at AS created_at
|
n.created_at AS created_at
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ def nodes(context: dict[str, Any]) -> list[Message]:
|
||||||
Message(
|
Message(
|
||||||
role='system',
|
role='system',
|
||||||
content='You are a helpful assistant that determines whether or not ENTITIES extracted from a conversation are duplicates'
|
content='You are a helpful assistant that determines whether or not ENTITIES extracted from a conversation are duplicates'
|
||||||
'of existing entities.',
|
' of existing entities.',
|
||||||
),
|
),
|
||||||
Message(
|
Message(
|
||||||
role='user',
|
role='user',
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[project]
|
[project]
|
||||||
name = "graphiti-core"
|
name = "graphiti-core"
|
||||||
description = "A temporal graph building library"
|
description = "A temporal graph building library"
|
||||||
version = "0.18.7"
|
version = "0.18.8"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Paul Paliychuk", email = "paul@getzep.com" },
|
{ name = "Paul Paliychuk", email = "paul@getzep.com" },
|
||||||
{ name = "Preston Rasmussen", email = "preston@getzep.com" },
|
{ name = "Preston Rasmussen", email = "preston@getzep.com" },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue