actionweaver.mixins.examples package

Submodules

actionweaver.mixins.examples.folium module

class actionweaver.mixins.examples.folium.Folium

Bases: object

show_map

Display a map with the provided latitude and longitude coordinates.

This action requires proper integration with map services and may require API keys or authentication. Ensure that relevant documentation and dependencies are properly set up.

This method requires folium installed

verify_lib_installed()
class actionweaver.mixins.examples.folium.Place(*, lat: float, lng: float, description: str)

Bases: BaseModel

description: str
lat: float
lng: float
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'description': FieldInfo(annotation=str, required=True), 'lat': FieldInfo(annotation=float, required=True), 'lng': FieldInfo(annotation=float, required=True)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

actionweaver.mixins.examples.langchain module

class actionweaver.mixins.examples.langchain.LangChainTools

Bases: object

search

Perform a Google search and return query results with titles and links.

Parameters:

query – The search query to be used for the Google search.

verify_lib_installed()

actionweaver.mixins.examples.llama_index module

actionweaver.mixins.examples.openai module

Module contents