llmflows icon indicating copy to clipboard operation
llmflows copied to clipboard

LLMFlows - Simple, Explicit and Transparent LLM Apps

Results 19 llmflows issues
Sort by recently updated
recently updated
newest added

### The problem you are trying to solve: I would like to use Weaviate just like I am able to easily use Pinecone in flows. ### Suggested new feature or...

enhancement

### The problem you are trying to solve: I would like to use Chroma just like I am able to easily use Pinecone in flows. ### Suggested new feature or...

enhancement

### The problem you are trying to solve: I want the assistants I build to be able to call functions based on the contents in a conversation. OpenAI's has released...

enhancement

https://github.com/stoyan-stoyanov/llmflows/blob/6ce79a8cc3b06e799d2b6eb6f6e8e78354f68dcd/llmflows/llms/openai.py#L55 It would be much appreciated if you used type hints for the input arguments in your methods - with this suggestion extended to the whole code base.

good first issue

https://github.com/stoyan-stoyanov/llmflows/blob/6ce79a8cc3b06e799d2b6eb6f6e8e78354f68dcd/llmflows/llms/openai_embeddings.py#L50-L52 I am not a fan of functions that can return either one or the other type, however, I assume that given a `List[VectorDoc]`, `generate` will always return a `List[VectorDoc]`....

https://github.com/stoyan-stoyanov/llmflows/blob/6ce79a8cc3b06e799d2b6eb6f6e8e78354f68dcd/llmflows/llms/llm_utils.py#L19

good first issue

https://github.com/stoyan-stoyanov/llmflows/blob/6ce79a8cc3b06e799d2b6eb6f6e8e78354f68dcd/llmflows/flows/chat_flowstep.py#L96 I find using `Any` everywhere generally frowned upon: you want to use type hints to leverage the power of a static type checker such as e.g. `mypy` _and_ for...

good first issue

Why not use **kwargs here? https://github.com/stoyan-stoyanov/llmflows/blob/3c4ceb7964dd85d0ab59f7865aa37337201454fa/llmflows/flows/functional_flowstep.py#L42 Then you can name keyword args to the function (i.e., `generate`), and the remaining will be the arguments for `flowstep_fn`, so this will go...

good first issue

https://github.com/stoyan-stoyanov/llmflows/blob/6ce79a8cc3b06e799d2b6eb6f6e8e78354f68dcd/llmflows/llms/openai_embeddings.py#L66-L68 If the whole point of having `VectorDoc` vs `List[VectorDoc]` is to put the first into a list and for the generated output to be accessed at index 0, why...