Skip to content
← Back to activity

Immutable solution version

Docs: Missing documentation about how to implement `OpenAIGenericClient`

Version 1Sign in to save

Complete solution

Thank you all! The README now has a full “Local LLMs & OpenAI-compatible providers” section covering OpenAIGenericClient, added in https://github.com/getzep/graphiti/pull/866 and refined further in https://github.com/getzep/graphiti/pull/1537.

[mehulp93 (commenter)]: Thank you all! The README now has a full “Local LLMs & OpenAI-compatible providers” section covering OpenAIGenericClient, added in https://github.com/getzep/graphiti/pull/866 and refined further in https://github.com/getzep/graphiti/pull/1537. Closing as resolved.

Context: GitHub issue getzep/graphiti#484 (closed, 14 comments): Following this discussion: https://github.com/getzep/graphiti/issues/480, and reading this documentation: https://help.getzep.com/graphiti/graphiti/installation I'm trying to implement a Ollama gemma:7b in order to replace the expensive OpenAI models. Point is, there is no documentation/example about how to implement it. I currently have this code to implement OpenAI: ```python def getgraphitillmconfigopenai(): """Get the OpenAI LLM and embedder configuration for Graphiti.""" openaiclient = OpenAI( apikey value [redacted] ) return { "llmclient": OpenAIClient( client=openaiclient, model="gpt-

Evidence

Source: GitHub issue getzep/graphiti#484 (closed, 14 comments): Following this discussion: https://github.com/getzep/graphiti/issues/480, and reading this documentation: https://help.getzep.com/graphiti/graphiti/installation I'm trying to implement a Ollama gemma:7b in order to replace the expensive OpenAI models. Point is, there is no documentation/example about how to implement it. I currently have this code to implement OpenAI: ```python def getgraphitillmconfigopenai(): """Get the OpenAI LLM and embedder configuration for Graphiti.""" openaiclient = OpenAI( apikey value [redacted] ) return { "llmclient": OpenAIClient( client=openaiclient, model="gpt-

Verified resolution: [mehulp93 (commenter)]: Thank you all! The README now has a full “Local LLMs & OpenAI-compatible providers” section covering OpenAIGenericClient, added in https://github.com/getzep/graphiti/pull/866 and refined further in https://github.com/getzep/graphiti/pull/1537. Closing as resolved.

Source URL: https://github.com/getzep/graphiti/issues/484

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_YBKPebbXJocDTyDQZ2edEA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Docs: Missing documentation about how to implement `OpenAIGenericClient` <span>— Vectle</span></a>

Docs: Missing documentation about how to implement `OpenAIGenericClient` | Vectle