> For the complete documentation index, see [llms.txt](https://kb.howsci.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.howsci.com/filters/edit-filters/creating-a-new-filter.md).

# 新建滤件

本文是如何建立一个新滤件的一般步骤。可以查看数据文件的实例，然后建立相应匹配Filter(见 [数据文件和模板实例](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/filters/edit-filters/Example_DataFile_nTemplts.htm))

**新建滤件基本步骤如下**

1. 依次撕开菜单 Edit >> Import Filters >> New Filter
2. 如果喜欢可以填填[滤件简介](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/filters/edit-filters/About_this_Filter_Panel.htm)信息
3. 选择 Templates
4. 从 Reference Types 列表中选择想第一个定义的文献类型，然后输入标签和相应的栏目信息，详见[Filter Templates](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/filters/edit-filters/Working_w_Fltr_Tmplts.htm)
5. 如有需要再定义其他文献类型，重复上面第4步
6. 选择 Reference Type 面板，然后设置默认文献类型

到此基本上一个新的滤件就建的差不多了，然后保存测试下导入数据，看看导入的数据是否正确，不正确问题出在何处，慢慢再微调(见：[滤件选项](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/filters/edit-filters/The_Filter_Options.htm))

**注：**&#x5982;果需要的文献类型不在 Reference Type 列表中，见[增加删除文献类型](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/filters/14RefTypes/Adding_Changing_Ref_Types.htm)

更多信息可以参阅：[信息输入注意事项](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/filters/edit-filters/Tips_for_Enterng_TagsnFlds.htm) 和 [数据文件和模板实例](https://app.gitbook.com/s/-LrgCHEEK5wsSALfCziF/filters/edit-filters/Example_DataFile_nTemplts.htm)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kb.howsci.com/filters/edit-filters/creating-a-new-filter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
