Skip to main content
Ctrl+K
πŸ¦œπŸ”— LangChain  documentation - Home

Site Navigation

  • Core
  • Langchain
  • Text Splitters
  • AI21
  • Airbyte
    • Anthropic
    • AstraDB
    • AWS
    • Azure Dynamic Sessions
    • Chroma
    • Cohere
    • Couchbase
    • Elasticsearch
    • Exa
    • Fireworks
    • Google Community
    • Google GenAI
    • Google VertexAI
    • Groq
    • Huggingface
    • Milvus
    • MistralAI
    • MongoDB
    • Nomic
    • Nvidia Ai Endpoints
    • Ollama
    • OpenAI
    • Pinecone
    • Postgres
    • Prompty
    • Qdrant
    • Robocorp
    • Together
    • Unstructured
    • VoyageAI
    • Weaviate
  • LangChain docs
  • GitHub
  • X / Twitter

Site Navigation

  • Core
  • Langchain
  • Text Splitters
  • AI21
  • Airbyte
    • Anthropic
    • AstraDB
    • AWS
    • Azure Dynamic Sessions
    • Chroma
    • Cohere
    • Couchbase
    • Elasticsearch
    • Exa
    • Fireworks
    • Google Community
    • Google GenAI
    • Google VertexAI
    • Groq
    • Huggingface
    • Milvus
    • MistralAI
    • MongoDB
    • Nomic
    • Nvidia Ai Endpoints
    • Ollama
    • OpenAI
    • Pinecone
    • Postgres
    • Prompty
    • Qdrant
    • Robocorp
    • Together
    • Unstructured
    • VoyageAI
    • Weaviate
  • LangChain docs
  • GitHub
  • X / Twitter

Section Navigation

  • chains
  • chat_models
  • common
  • csv_agent
    • count_words_in_file
    • create_csv_agent
    • create_prompt
    • get_file_peek_tool
    • get_file_read_tool
    • get_python_tool
  • embeddings
  • llms
  • rag_retrievers
  • react_multi_hop
  • rerank
  • sql_agent
  • langchain_cohere 0.2.1rc0

csv_agent#

Functions

csv_agent.agent.count_words_in_file(file_path)

csv_agent.agent.create_csv_agent(llm,Β path)

Create csv agent with the specified language model.

csv_agent.agent.create_prompt([...])

Create prompt for this agent.

csv_agent.tools.get_file_peek_tool()

csv_agent.tools.get_file_read_tool()

csv_agent.tools.get_python_tool()

Returns a tool that will execute python code and return the output.

previous

CohereCitation

next

count_words_in_file

Β© Copyright 2023, LangChain Inc.