Skip to content

More clarifications on the persistent repl across client #27

@thoriqakbar0

Description

@thoriqakbar0

hey can you elaborate on persistent REPL across the client. do you plan for api change, or were referring to something else..

I tried to look at the paper and the library and try to guess what you were trying to do and I understand it as just async multi turn. basically the multiple llm just can call one repl sometime at the same time.

I was toying around with the idea of something like:

from rlm import RLM

with RLM(persistent=True, ...) as rlm:
    r1 = rlm.completion("Q3: Revenue $50M, costs $30M. Calculate profit margin.")
    r2 = rlm.completion("Q4: Revenue $62M, costs $35M. Compare with previous quarter.")
    r3 = rlm.completion("Summarize the trend across all data.")

Is REPL state enough, or should message history to persist across calls?

tq!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions