Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatItems ¶
ConcatItems the caller should ensure len(items) > 1
func GetConcatFunc ¶
Types ¶
type UnboundedChan ¶ added in v0.3.23
type UnboundedChan[T any] struct { // contains filtered or unexported fields }
UnboundedChan represents a channel with unlimited capacity
func NewUnboundedChan ¶ added in v0.3.23
func NewUnboundedChan[T any]() *UnboundedChan[T]
NewUnboundedChan initializes and returns an UnboundedChan
func (*UnboundedChan[T]) Close ¶ added in v0.3.23
func (ch *UnboundedChan[T]) Close()
Close marks the channel as closed
func (*UnboundedChan[T]) Receive ¶ added in v0.3.23
func (ch *UnboundedChan[T]) Receive() (T, bool)
Receive gets an item from the channel (blocks if empty)
func (*UnboundedChan[T]) Send ¶ added in v0.3.23
func (ch *UnboundedChan[T]) Send(value T)
Send puts an item into the channel
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock provides mock implementations for testing purposes.
|
Package mock provides mock implementations for testing purposes. |
|
components/document
Package document is a generated GoMock package.
|
Package document is a generated GoMock package. |
|
components/embedding
Package embedding is a generated GoMock package.
|
Package embedding is a generated GoMock package. |
|
components/indexer
Package indexer is a generated GoMock package.
|
Package indexer is a generated GoMock package. |
|
components/model
Package model is a generated GoMock package.
|
Package model is a generated GoMock package. |
|
components/retriever
Package retriever is a generated GoMock package.
|
Package retriever is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.