Skip to content

Conversation

maxkahan
Copy link
Collaborator

Adds LLM class, RealtimeLLM child class, llm_types.py and a Conversation object to keep track of an LLM conversation.

WIP!

await super().close()


class Conversation:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already have a similar concept in stream-agents

register_global_event(init_event)
self.emit("initialized", init_event)

async def generate(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this API seems inspired by Gemini.

OpenAI is larger, and most other vendors follow an API similar to openAI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants